Trying to make this work on my server. Testing...
This commit is contained in:
BIN
admin/documentation/.run locally.txt.kate-swp
Normal file
BIN
admin/documentation/.run locally.txt.kate-swp
Normal file
Binary file not shown.
@@ -23,12 +23,20 @@ sudo systemctl daemon-reload
|
||||
sudo systemctl enable gunicorn.socket
|
||||
sudo systemctl start gunicorn.socket
|
||||
sudo systemctl status gunicorn.socket
|
||||
sudo systemctl status gunicorn.service
|
||||
|
||||
???sudo systemctl enable gunicorn.service???
|
||||
???sudo systemctl start gunicorn.service???
|
||||
# Do not: sudo systemctl enable gunicorn.service
|
||||
# Do not? sudo systemctl start gunicorn.service
|
||||
|
||||
sudo vim /etc/nginx/sites-available/dev_fastapi.oneskyit.com
|
||||
sudo ln -s /etc/nginx/sites-available/dev_fastapi.oneskyit.com /etc/nginx/sites-enabled/dev_fastapi.oneskyit.com
|
||||
|
||||
sudo systemctl restart nginx.service
|
||||
sudo systemctl status nginx.service
|
||||
|
||||
# Troubleshooting:
|
||||
systemctl list-units --type=service --state=active
|
||||
systemctl list-units --type=service --state=running
|
||||
|
||||
sudo systemctl | grep running
|
||||
sudo systemctl list-unit-files | grep enabled
|
||||
|
||||
@@ -8,3 +8,4 @@ aioredis
|
||||
html2text
|
||||
pytz
|
||||
#mypy
|
||||
stripe
|
||||
|
||||
Reference in New Issue
Block a user