- Create votings directory and copy repo to it
git clone git@github.com:amrbz/voting.git voting
- Run docker compose file and build required containers
cd voting
docker-compose up -d
- Visit http://localhost:4203 to enter Crate IO panel and select Console tab.
- Create tables from /server/schema.sql
- Enter valid private keys to your server/config.py file
VOTERS_WALLET_PRIV_KEY = ''
OPTIONS_WALLET_PRIV_KEY = ''
VOTINGS_WALLET_PRIV_KEY = ''
TITLES_WALLET_PRIV_KEY = ''
DESCRIPTIONS_WALLET_PRIV_KEY = ''
Create five wallets and make sure to have positive balance on each of them
- Visit http://localhost:7210
To display server logs run:
docker logs -f votings_server_1