gunicorn hosting works staticfiles rearranged

This commit is contained in:
xi-pinmping committed 2022-06-11 16:33:05 -04:00
1 parent a74b547306
commit b4bf7980f4
77785 files changed
+1381501

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
source ~/projects/django_lottopy/django_lottopy/bin/activate
export DJANGO_DEBUG=False
export DJANGO_SECRET_KEY='g_lw__)68m(3x4hq$ehg-(4xyc*@)^na4zd!2io&%x_rovgle$'
redis-server &
#PYTHONPATH=`pwd`/.. gunicorn --bind 0.0.0.0:8000 lottopy_site.wsgi:application
# Debug=True
#python ~/projects/django_lottopy/lottopy_site/manage.py runserver
# Debug=False
#uwsgi --http :8000 --home ~/projects/django_lottopy -w lottopy.wsgi
gunicorn -c ~/projects/django_lottopy/gunicorn.conf.py lottopy_site.wsgi:application