Compare commits
No commits in common. "872e165131d4fe7fca7abd8f09fe7e96ba50525e" and "23b0e869fcb928cf83a1c83124d037a482a12322" have entirely different histories.
872e165131
...
23b0e869fc
27
notes.md
27
notes.md
@ -1,27 +0,0 @@
|
||||
# How to package
|
||||
|
||||
Have a `pyproject.toml` file
|
||||
Have an internet connection (flit needs it)
|
||||
|
||||
```python
|
||||
python3 -m build --wheel
|
||||
```
|
||||
# How to run (with factory building)
|
||||
|
||||
```python
|
||||
gunicorn --bind 0.0.0.0:8000 'flask_soc_site:create_app()'
|
||||
```
|
||||
Documentation: https://docs.gunicorn.org/en/stable/run.html
|
||||
|
||||
# How to run currently without systemd service
|
||||
```bash
|
||||
ssh joost@joostagterhoek.nl
|
||||
sudo su
|
||||
sudo -i -u my_webapp
|
||||
cd /var/www/my_webapp/www
|
||||
. ./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
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user