Trying to make this work on my server. Testing...

This commit is contained in:
Scott Idem
2021-03-11 11:59:16 -05:00
parent d260336313
commit 30e204219a
4 changed files with 37 additions and 2 deletions

Binary file not shown.

View File

@@ -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

View File

@@ -8,3 +8,4 @@ aioredis
html2text
pytz
#mypy
stripe