diff --git a/README.md b/README.md index 1762efd..3890c91 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ A voting system for student Division Meeting (Sektionsmöte). [Setup Instructions](https://github.com/cthit/VoteIT/wiki/Setup-Instructions-for-Vote-Counters) +or + +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) + [User Instructions](https://github.com/cthit/VoteIT/wiki/User-Instructions) Server on heroku needs to be kept alive (sleeps after 30 mins of inactivity by default) using something like the following script: diff --git a/app.json b/app.json new file mode 100644 index 0000000..d049396 --- /dev/null +++ b/app.json @@ -0,0 +1,21 @@ +{ + "name": "VoteIT", + "description": "A voting system", + "repository": "https://github.com/cthit/VoteIT", + "logo": "http://imgur.com/3Xwg8XF.png", + "keywords": ["node", "voteIT", "voting"], + "env": { + "PASSWORD": { + "description": "Password for /admin", + "required": true + }, + "NUM_USERS ": { + "description": "How many users can vote?", + "required": true + }, + "CODES_PER_USER": { + "description": "How many codes per user?", + "required": true + } + } +}