Hey there guys, I'm starting to lose my hope in deploying my django project to a vps. Here is what I've done so far (notice that i'm a newbie and this is the first time): I've created my virtualenv and installed pip, django, mysqldb package and nginx (i think). I followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-local-django-app-to-a-vps
There were, although a few missing points on the tutorial like on the gunicorn set-up, the command that's listed on the tutorial is outdated and, even with the help of gunicorn's documentation, I couldn't figure it out.
Now what happens when I run the server in "debug = False" is an error 500. Without the "debug = False" I get this:'Empty static prefix not permitted'.
Can you recommend me a good tutorial for me to follow?
ps. I still need to use this http://37.59.114.190:8001/ with the port, but I believe that is because of the gunicorn that i didn't set up.
Thank you so much for your time,
João Marques
-- There were, although a few missing points on the tutorial like on the gunicorn set-up, the command that's listed on the tutorial is outdated and, even with the help of gunicorn's documentation, I couldn't figure it out.
Now what happens when I run the server in "debug = False" is an error 500. Without the "debug = False" I get this:'Empty static prefix not permitted'.
Can you recommend me a good tutorial for me to follow?
ps. I still need to use this http://37.59.114.190:8001/ with the port, but I believe that is because of the gunicorn that i didn't set up.
Thank you so much for your time,
João Marques
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/79f73903-55d1-4c4c-a1d1-4a477bfd41ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment