Skip to content
Snippets Groups Projects
Commit 44e5b74b authored by David Trattnig's avatar David Trattnig
Browse files

Create default Gunicorn configuration file.

parent 30b2aa7e
No related branches found
No related tags found
No related merge requests found
Pipeline #653 failed
......@@ -108,7 +108,8 @@ This script does the following:
- NodeJS Modules (`script/install-web.sh`)
- Python Packages (`requirements.txt`)
- Creates a log folder in `/var/log/aura/`
- Creates a default configuration file in `/etc/aura/engine.ini`
- Creates a default Engine configuration file in `/etc/aura/engine.ini`
- Creates a default Gunicorn configuration file in `gunicorn.conf.py`
When this is completed, carefully check if any error occured. In case your database has been setup
automatically, note the relevant credentials for later use in your `engine.ini` configuration.
......
......@@ -45,9 +45,12 @@ if [ $mode == "prod" ]; then
echo "Create local 'tmp' Folder ..."
mkdir -p tmp
echo "Copy configuration to '/etc/aura/engine.ini'"
echo "Copy default Engine configuration to '/etc/aura/engine.ini'"
cp -n configuration/sample-production.engine.ini /etc/aura/engine.ini
echo "Copy default Gunicorn configuration to '/etc/aura/engine.ini'"
cp -n configuration/sample.gunicorn.conf.py configuration/gunicorn.conf.py
echo "Create Virtual Env for Gunicorn"
virtualenv -p /usr/bin/python3.7 ../python-env
source ../python-env/bin/activate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment