Commit 28e2b935 authored by BERJON Matthieu's avatar BERJON Matthieu

Add of the app running script

In order to launch the app, I create this script. It just launch the
Django internal HTTP server on the port 4000 (later on, it should
handled by Gunicorn or any WSGI server).
Then I launch the nginx server.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent e456fcb8
#!/bin/sh
set -e
# exec nginx -g 'daemon off;'
python3 /opt/allgo/manage.py runserver 4000 &
service nginx start
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment