Condorcet is a web application for voting.
The application uses the Flask web framework and SQLAlchemy database management packages. To get up and running, run the setup which makes sure the correct Python version is used, installs the dependencies, initialises the database and gets a copy of the Flup Python module, which is used as a WSGI bridge. Moreover it assumes you are setting up the website in a folder on AFS so it also makes the database writable by the AFS web server. For more details on the commands run read the setup file.
$ git clone [email protected]:gdujany/Condorcet.git
$ cd Condorcet
$ chmod 755 setup.sh
$ ./setup.sh
Adapt Condorcet/config.py to your needs, in particular change APPLICATION_ROOT
.
Go to the CERN AFS web configuration page and enable CGI execution.