openshift-flask-mongdb
openshift-flask-mongdb copied to clipboard
Is their dbs provided ?
I changed the mongodb setting to run the code locally ,but the static is in wsgi directory , cause image ,js ,css 404,how to debug in my local pc ?
as you can see the css related import code in templates/base.html, the static path is /static/[css,js,img], so you can setup a local nginx web server to serve static files mapping that url to disk path, for more information regarding niginx configuration please go to nginx's office web site.
If nginx listen the port 5000 ,than the port is in use ,python main.py
could not be runned up!