motor test + qrdocs
This commit is contained in:
1 parent
675d050581
commit
2d7ec8c2fb
5 files changed
+96
-4
No files matched your search
@@ -11,3 +11,27 @@ Bau eines Hausaufgaben Robos
|
||||
* Repo für die Web-App, um den Vokabeltester / Mathe-Checker zu starten.
|
||||
|
||||
## Links
|
||||
|
||||
|
||||
## Configs
|
||||
Das Unit file für einen quiz Service (auf Gunicorn Basis)
|
||||
|
||||
* vi /etc/systemd/system/quiz.service
|
||||
|
||||
~~~
|
||||
[Unit]
|
||||
Description=Gunicorn instance to serve quiz
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=kico
|
||||
Group=www-data
|
||||
WorkingDirectory=/home/kico/git/robotik-wise23/quiz
|
||||
#Environment="PATH=/home/sammy/myproject/myprojectenv/bin"
|
||||
#ExecStart=/home/sammy/myproject/myprojectenv/bin/gunicorn --workers 3 --bind unix:myproject.sock -m 007 wsgi:app
|
||||
ExecStart=/usr/bin/gunicorn --workers 1 --bind 0.0.0.0:8000 quiz:app
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
~~~
|
||||
|
||||
Reference in new issue
Block a user