-
Notifications
You must be signed in to change notification settings - Fork 0
A ranked-choice voting system, with newspapers' annual best-of voting in mind
License
kc0bfv/RankedChoiceRestaurants
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Dependencies: Python 3 - this is 2016, so we use Python 3 Django - developed with 1.10 pip3 install django mysqlclient - Only if you're using mysql as your database pip3 install mysqlclient # For Testing Set PRODUCTION to False in RankedChoiceRestaurants/settings.py Deploying: Run "./GenerateConfig.py" to generate a config file at the location specified in RankedChoiceRestaurants/settings.py Change PRODUCTION to True in RankedChoiceRestaurants/settings.py Run "./manage.py collectstatic" to copy all static files into the directory specified in GenerateConfig.py Run "./manage.py makemigrations" voting to prime the migrations Run "./manage.py migrate" to create the necessary database entries Run "./manage.py createsuperuser" to create the django administration user Run "./manage.py createanonymous" to create an anonymous user for non-logged-in polling Run "./manage.py check --deploy" if you want to auto-check django security settings. SECURE_HSTS_SECONDS is the only normal warning - you'd have to setup HSTS to get rid of that warning. If you're using passenger on Dreamhost, create a link to passenger_wsgi.py in your web server's directory. Directory structure should look like: vote.notmet.net | passenger_wsgi.py | ... \RankedChoiceRestaurants | passenger_wsgi.py | README |\RankedChoiceRestaurants | | settings.py | | ... |\voting | | ...
About
A ranked-choice voting system, with newspapers' annual best-of voting in mind
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published