P
P
Protokol
Search…
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

1
git clone https://github.com/protokol/voting.git
2
3
cd voting
4
5
yarn && yarn build
Copied!

2. Run Postgres database

1
cd docker/development/testnet
2
3
docker-compose up postgres
Copied!

3. Run local blockchain

From repository root folder:
1
yarn full:testnet
Copied!

Version Bumping

Prerelease

1
yarn version:beta
Copied!

Patch

1
yarn version:patch
Copied!

Changelog

1
yarn changelog
Copied!

Insomnia

Import insomnia file fromvoting/insomnia/voting-api.json
Last modified 14d ago