Followers

Sunday, 8 October 2017

Procfile for Heroku not working properly - Django using Waitress

Source: stackoverflow.com --- Sunday, October 08, 2017
Struggling to the Procfile I'm using for heroku working. Trying to learn how to get a basic django website up and running and have built something from scratch. I use Windows on my PC to tinker around so decided on using waitress but perhaps gunicorn would be easier? If I can't work it out I'll just use a template from heroku and build from that but I would rather not get rid of what i've done so far. This is my directory structure. Root +--- .git Include Lib Scripts Scripts Static tcl src +--- � db.sqlite3 � manage.py � +---alex1 � � forms.py � � settings.py � � urls.py � � wsgi.py � � __init__.py � � � +---__pycache__ � settings.cpython-36.pyc � urls.cpython-36.pyc � wsgi.cpython-36.pyc � __init__.cpython-36.pyc � +---profiles � admin.py � apps.py � forms.py � models.py � tests.py � views.py � __init__.py � +---migrations � � 0001_initial.py � � 0002_profile_description.py � � 0003_auto_20170905_1654.py � � 0004_auto_20170905_1659.py � � __init__.py � � � +---__pycache__ � 0001_initial.cpython-36.pyc � 0002_profile_description.cpython-36.pyc � 0003_auto_20170905_1654.cpython-36.pyc � 0004_auto_20170905_1659.cpython-36.pyc � __init__.cpython-36.pyc � +---templates � base.html � contact.html � +---__pycache__ admin.cpython-36.pyc forms.cpython-36.pyc models.cpython-36.pyc views.cpython-36.pyc __init__.cpython-36.pyc The error I'm receiving is this 2017-10-08T09:33:38.547463+00:00 app[web.1]: There was an exception (ModuleNotFound ...



from Windows http://ift.tt/2xpejaN

No comments:

Post a Comment