|
|
@ -1,6 +1,8 @@ |
|
|
|
|
|
|
|
## Requirements |
|
|
|
npm >= 6.0 |
|
|
|
in /frontend: |
|
|
|
npm install, um die notwendigen node_modules zu installieren |
|
|
|
|
|
|
|
pip: |
|
|
|
* wheel |
|
|
@ -18,11 +20,11 @@ After=network.target |
|
|
|
[Service] |
|
|
|
User=maintenance |
|
|
|
Group=www-data |
|
|
|
WorkingDirectory=/path/to/project |
|
|
|
Environment="PATH=/path/to/project/bin" |
|
|
|
WorkingDirectory=/path/to/project/backend |
|
|
|
Environment="PATH=/path/to/project/venv/backend/bin" |
|
|
|
#remove --reload when site is ready |
|
|
|
#reload restarts workers when code changes |
|
|
|
ExecStart=/path/to/project/bin/gunicorn --reload --workers 3 --bind 0.0.0.0:8900 wsgi:app |
|
|
|
ExecStart=/path/to/project/backend/venv/bin/gunicorn --reload --workers 3 --bind 0.0.0.0:8900 wsgi:app |
|
|
|
|
|
|
|
[Install] |
|
|
|
WantedBy=multi-user.target |
|
|
|