Vote system using Swiss System rules.
npm install
Make sure your GitHub username is present in data/import.json
if you want be able to vote
DATABASE_URL=sqlite:db.sqlite npm run import
- Rename
nodemon.json.dist
tonodemon.json
- Set
DATABASE_URL
assqlite:db.sqlite
- Set
GITHUB_ID
andGITHUB_SECRET
:- Create an application on https://github.com/settings/apps
- Set
Homepage URL
andUser authorization callback URL
ashttp://localhost:8080/
- Copy
Client ID
andClient secret
intonodemon.json
- Set
VOTE_CLOSED
tofalse
if you want be in the voting phase
npm run debug
npm run serve
yarn run build