A simple website using Django backend and bootstrap frontend to display publications of professors of an university.
Hosted Site: https://cmpn-publications-official.herokuapp.com/
Demo PDF
use command: pip install -r requirements.txt
to install all the dependencies then,
open djangoWebsite/settings.py
In this file:
-
Comment line 14 (
import django_heroku
) and line 131 (django_heroku.settings(locals())
) -
Open cmd ( while being on a path where manage.py is directly visible)
-
Run
python manage.py createsuperuser
-
Run
python manage.py migrate
-
Run
python manage.py makemigrations
-
Run
python manage.py runserver
-
Open the link given by the output
-
To access admin page add
/admin
after the current url
uncomment lines 14 and 131
-
Create new app from heroku dashboard (first pip install heroku in cmd)
-
Follow steps to upload the files given there in the deploy tab.
-
Then go to resources tab and on any off dynos there.
-
Run `heroku run python3 manage.py createsuperuser
-
Run
heroku run python3 manage.py migrate
-
Run
heroku run python3 manage.py makemigrations
-
To access admin page add
/admin
after the current url