mysql - Dreamhost PyCharm Django Python 3 Launching a Site -


i'm new python/django , created simple django website using pycharm. site works fine running on computer, i'm lost when comes taking site onto host (dreamhost). i'm able upload files correct directories fine, , believe made correct changes database on mysql. i'm not sure go there though. right now, page shows files rather site. direction appreciated. much!

you should not run django application using python manage.py runserver on production. how run application on django depends on server (apache, nginx) want use

for apache - https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/

for nginx - https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-14-04

the mysql database should, of course, exist , have correct credentials. or, if choose use sqlite, file should accessible, readable , writable www-user (may different depending on linux distributive)


Comments

Popular posts from this blog

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -