Author: | Pierre-Yves Chibon <[email protected]> |
---|
Nuancier-lite is a light weight voting application for the supplementary wallpapers of Fedora.
On github: https://github.com/fedora-infra/nuancier-lite
Documentation: http://nuancier-lite.rtfd.org
This project is a Flask application. The calendars and meetings are stored into a relational database using SQLAlchemy as Object Relational Mapper (ORM). The application relies on Pillow to generate thumbnails of the pictures in order to increase the loading speed of the pages.
The dependency list is therefore:
Clone the source:
git clone https://github.com/fedora-infra/nuancier-lite.git
Create the database scheme:
python createdb.py
Run the server:
python runserver.py
You should be able to access the server at http://localhost:5000
Note
To tweak the configuration, you may either change
default_config.py
in the nuancier module, or copy the file
nuancier-lite.cfg.sample
into nuancier-lite.cfg
and run the
application using:
NUANCIER_CONFIG=nuancier-lite.cfg python runserver.py
This project contains unit-tests allowing you to check if your server has all the dependencies correctly set.
To run them:
./runtests.sh
Note
To stop the test at the first error or failure you can try:
./runtests.sh -x
This project is licensed GPLv2+.