Voter API for V LO im. Augusta Witkowskiego
How to use?
- Install docker
- Create a database with the voter.sql file. Create a user for the database.
- Add the database credentials to config.json
- Generate random gibberish as your pepper and salt in secrets.json
- Move everything from etc/voter to /etc/voter
- Run docker pull karolpeszek/voter:latest
- Run docker run --net=host -v /etc/voter:/config -d karolpeszek/voter:latest
- Enojoy!