production ready

This commit is contained in:
Linux User committed 2022-06-15 00:15:05 +00:00
1 parent fb290579c1
commit 65cdacf6a8
5864 files changed
+2870 -840191

No files matched your search

+8 -5
View File
@@ -1,12 +1,15 @@
#!/bin/bash
source ~/projects/django_lottopy/django_lottopy/bin/activate
export DJANGO_DEBUG=True
source ~/django_lottopy/django_lottopy/bin/activate
export DJANGO_DEBUG=True
export DJANGO_SECRET_KEY='g_lw__)68m(3x4hq$ehg-(4xyc*@)^na4zd!2io&%x_rovgle$'
redis-server &
#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
#python ~/django_lottopy/lottopy_site/manage.py runserver --bind unix:/home/williedynamite/django_lottoy/run/gunicorn.sock
# Debug=False
#gunicorn -c ~/projects/django_lottopy/gunicorn.conf.py lottopy_site.wsgi:application
#gunicorn -c ~/django_lottopy/gunicorn.conf.py --bind 0.0.0.0:8000 lottopy_site.wsgi:application
gunicorn -c ~/django_lottopy/lottopy_site/gunicorn.conf.py --bind unix:/home/williedynamite/django_lottopy/run/gunicorn.sock lottopy_site.wsgi:application