lhcb / Condorcet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Condorcet Build status

Condorcet is a web application for voting.

⚠️ Note ⚠️ This repository is archived. It has been superseeded by the new implementation hosted on CERN's GitLab instance.

Set up

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 git@github.com: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.

About


Languages

Language:Python 75.0%Language:HTML 13.5%Language:CSS 5.2%Language:JavaScript 5.2%Language:Shell 1.0%