python - Heroku foreman appears to start but nothing happens -
i'm working through heroku tutorial deploying python app , trying run app locally on windows 7 64 bit machine. using foreman start app appears work , has no visible errors doesn't anything.
procfile.windows:
web: python manage.py runserver 0.0.0.0:5000
foreman output:
(herokugettingstarted) ps c:\localapp\> foreman start web -f .\procfile .windows 08:16:04 web.1 | started pid 6080 08:16:15 web.1 | performing system checks... 08:16:15 web.1 | 08:16:15 web.1 | system check identified no issues (0 silenced).
if netstat, there's nothing listening on localhost port 5000. if start server manually, works , can connect app browser or telnet.
(herokugettingstarted) ps c:\localapp\> python manage.py runserver 0.0 .0.0:5000 performing system checks... system check identified no issues (0 silenced). june 25, 2015 - 08:39:07 django version 1.8.1, using settings 'gettingstarted.settings' starting development server @ http://0.0.0.0:5000/ quit server ctrl-break.
i had exact same issue. easiest work-around manually run py manage.py runserver
, you'll able run locally.
though thing might not work in same way setting of "config vars", stated in getting started python on heroku
Comments
Post a Comment