mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-09-17 18:31:15 +00:00
8 lines
232 B
Bash
8 lines
232 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Generate secrets if the secrets file does not already exist
|
||
|
./manage.py setup generate-secrets
|
||
|
|
||
|
# Start the server
|
||
|
gunicorn --bind "0.0.0.0:80" --workers "5" --log-file "/volumes/logs/gunicorn.log" "run:create_app()"
|