tidying up
This commit is contained in:
parent
872e165131
commit
80a7b57dc6
6
notes.md
6
notes.md
@ -15,10 +15,10 @@ Documentation: https://docs.gunicorn.org/en/stable/run.html
|
|||||||
|
|
||||||
# How to run currently without systemd service
|
# How to run currently without systemd service
|
||||||
```bash
|
```bash
|
||||||
ssh joost@joostagterhoek.nl
|
ssh [user]@[site].nl
|
||||||
sudo su
|
sudo su
|
||||||
sudo -i -u my_webapp
|
sudo -i -u [account running app]
|
||||||
cd /var/www/my_webapp/www
|
cd [path to flask app]
|
||||||
. ./env/bin/activate
|
. ./env/bin/activate
|
||||||
gunicorn --bind 0.0.0.0:8000 'flask_soc_site:create_app()' --error-logfile gunicorn.error.log --log-level error --capture-output
|
gunicorn --bind 0.0.0.0:8000 'flask_soc_site:create_app()' --error-logfile gunicorn.error.log --log-level error --capture-output
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user