Development

Showing how to setup @protokol/voting development environment.

Prerequisites

  • Node version 12.x or 14.x

  • yarn package manager

  • docker and docker-compose

For more information about setting up development environment go to https://ark.dev/docs/core/getting-started/development-setup/introduction

To run local development enviornment execute the following steps:

1. Clone voting repository

git clone https://github.com/protokol/voting.git

cd voting

yarn && yarn build

2. Run Postgres database

cd docker/development/testnet

docker-compose up postgres

3. Run local blockchain

From repository root folder:

yarn full:testnet

Version Bumping

Prerelease

yarn version:beta

Patch

yarn version:patch

Changelog

yarn changelog

Insomnia

Import insomnia file fromvoting/insomnia/voting-api.json

Last updated