Deployment

From sources

Clone the source:

git clone https://github.com/fedora-infra/nuancier.git

Copy the configuration files:

cp nuancier.cfg.sample nuancier.cfg

Adjust the configuration files (secret key, database URL, admin group...). See Configuration for detailed information about the configuration.

Create the database scheme:

NUANCIER_CONFIG=/path/to/nuancier.cfg python createdb.py

Set up the WSGI as described below.

From system-wide packages

Start by install nuancier:

yum install nuancier

Adjust the configuration files: /etc/nuancier/nuancier.cfg. See Configuration for detailed information about the configuration.

Create the database scheme:

NUANCIER_CONFIG=/etc/nuancier/nuancier.cfg python /usr/share/nuancier/nuancier_createdb.py

Set up the WSGI as described below.

Set-up WSGI

Start by installing mod_wsgi:

yum install mod_wsgi

Then configure apache:

sudo vim /etc/httd/conf.d/nuancier.conf

uncomment the content of the file and adjust as desired.

Then edit the file /usr/share/nuancier/nuancier.wsgi and adjust as needed.

Then restart apache and you should be able to access the website on http://localhost/nuancier

Note

Flask provides also some documentation on how to deploy Flask application with WSGI and apache.

For testing

See Development if you want to run nuancier just to test it.

Nuancier

Previous topic

nuancier

Next topic

Configuration

This Page