Skip to content

072BCT/EADD_072

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation Notes:

  1. Check out a project in Pycharm - see here for help URL of the remote repository: https://github.com/072BCT/EADD_072.git

  2. Create Virtual Environment

  3. Restart Pycharm

  4. On the Pycharm's terminal run the following code to Install Requirements : pip install -r requirements.txt

  5. Migrate Database: python manage.py makemigrations WebApp
    Please Ensure that you delete 'db.sqlite3' database and Migrations folder inside WebApp before clean Migration.

  6. Migrate Database: python manage.py migrate

  7. After that, run the app using Django manage.py: python manage.py runserver

  8. Access the homepage on http://localhost:8000

Creating an admin user

First we’ll need to create a user who can login to the admin site. Run the following command:

$ python manage.py createsuperuser
Enter your desired username and press enter.

Username: admin
You will then be prompted for your desired email address:

Email address: [email protected]
The final step is to enter your password. You will be asked to enter your password twice, the second time as a confirmation of the first.

Password: **********<br>
Password (again): *********<br>
Superuser created successfully.<br>

Django Admin

The Django admin site is activated by default after running $ python manage.py runserver
Now, open a Web browser and go to “/admin/” on your local domain – e.g., http://127.0.0.1:8000/admin/. You should see the admin’s login screen.

APIs

Visit http://eadd-072.sushant.info.np/api/v1/ to explore the API. You only can explore APIs after you login to Django Admin screen using superuser access.
Use http://eadd-072.sushant.info.np/rest-auth/login/ for auth API info.

Live Deployment:

Check http://eadd-072.sushant.info.np for latest updated website. The website gets automically updated after around 5 minutes of commits pushed to GitHub. Username: 072bct500 Password: 072bct500

Project Management Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published