Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

lhcb/Condorcet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [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.