Find your election candidate match: http://ctzen.info/
yarn installyarn run sequelize db:createyarn run sequelize db:migrateyarn run sequelize db:seed:all- Add polls:
node ./src/scripts/import_poll.js(update src to latest) - Add candidate answers (optional):
node ./src/scripts/import_candidate_answers.js(for candidate responses in/datafolder) yarn run start(will start graphql api and front end)
- first time running tests setup test database:
yarn run sequelize db:create --env=testyarn run sequelize db:migrate --env=test
yarn run test
debugging tests: run yarn run test:debug and add debugger in code or breakpoint in vscode (using vscode you must run test from vscode terminal)
