Professional Documents
Culture Documents
Steps To Deploy Django App On Pythonanywhere
Steps To Deploy Django App On Pythonanywhere
or
5) Cd into project_folder
7) Go to Web section
New Fields on the Web page will get displayed which are to be filled...
9) Note: incase of WSGI configuration file...Keep the code related to django ....delete rest
of the code...uncomment the code for Django..
change the term "mysite" with the name of the project folder(2 places)
10) Add STATIC_ROOT and MEDIA_ROOT in settings.py file and add their paths on fields
mentioned on WEB page( project related files can be accessed and edited by clicking on
them in the file page)
.. enter password
.. initialize
Reload app..(Don't forget to reload app anytime some changes are made)
17) If website is working properly change the debug settings to False and add domain names
in alowed_hosts list in settings.py file.