Running eve-demo with python run.py works as expected on my local development system. When I run it using foreman start the app starts, listents on port 5000, but requests fail with 404 errors. No additional diagnostic information is provided.
eve-demo assumes that if the PORT environment variable is present, it's running the live demo on http://eve-demo.herokuapp.com and will try to connect to the live Mongo DB at mongohq.com. Subsequent resource requests fail with a 404 error as a result.
It would be helpful if eve-demo wrote diagnostic info to the console at initialization or when requests fail. Might save someone (me?) a bit of head-scratching.
Running
eve-demo
withpython run.py
works as expected on my local development system. When I run it usingforeman start
the app starts, listents on port 5000, but requests fail with 404 errors. No additional diagnostic information is provided.eve-demo
assumes that if thePORT
environment variable is present, it's running the live demo on http://eve-demo.herokuapp.com and will try to connect to the live Mongo DB at mongohq.com. Subsequent resource requests fail with a 404 error as a result.It would be helpful if
eve-demo
wrote diagnostic info to the console at initialization or when requests fail. Might save someone (me?) a bit of head-scratching.