openshift-flask-mongdb icon indicating copy to clipboard operation
openshift-flask-mongdb copied to clipboard

Is their dbs provided ?

Open cuijiudai opened this issue 11 years ago • 2 comments

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 ?

cuijiudai avatar Sep 12 '13 15:09 cuijiudai

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.

coldfire-x avatar Sep 15 '13 10:09 coldfire-x

If nginx listen the port 5000 ,than the port is in use ,python main.py could not be runned up!

cuijiudai avatar Sep 18 '13 15:09 cuijiudai