Add readme

Remove development color swatches page
This commit is contained in:
Alexander Laevens
2022-12-01 01:34:31 -07:00
parent 7fa947b1d7
commit 31c4505e49
7 changed files with 75 additions and 33 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=daphne daemon
After=network.target
[Service]
User=django
Group=www-data
Environment="DJANGO_RELEASE=True"
WorkingDirectory=/opt/django/OneTrip/one_trip_api
ExecStart=/opt/django/OneTrip/one_trip_api/venv/bin/daphne \
--u /run/daphne/daphne.sock \
one_trip_api.asgi:application
[Install]
WantedBy=multi-user.target

View File

@@ -1,18 +0,0 @@
[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target
[Service]
User=django
Group=www-data
Environment="DJANGO_RELEASE=True"
WorkingDirectory=/opt/django/OneTrip/one_trip_api
ExecStart=/opt/django/OneTrip/one_trip_api/venv/bin/gunicorn \
--access-logfile - \
--workers 3 \
--bind unix:/run/gunicorn.sock \
one_trip_api.wsgi:application
[Install]
WantedBy=multi-user.target

View File

@@ -1,8 +0,0 @@
[Unit]
Description=gunicorn socket
[Socket]
ListenStream=/run/gunicorn.sock
[Install]
WantedBy=sockets.target