Instructions about the dev environment setup for Ratesfeeder development.
For contracs development see augmint-contracts repo
For UI development see augmint-web repo
-
nodejs
NB: check supported node version in package.jsonInstalling nodejs with n node version manager:
npm install -g n n <node version, eg: 10.15.3>
-
Yarn:
npm install -g yarn@<yarn version, e.g. 1.15.2>
NB: check required yarn version in package.json -
git clone https://github.com/Augmint/augmint-ratesfeeder.git cd augmint-ratesfeeder yarn install
Note: windows install was not tested since a while, update on it is welcome
-
Git (if you haven't installed it as part of Git Bash in previous step)
-
nodejs
NB: check supported node version in package.jsonInstalling nodejs with Node Version Manager(NVM):
nvm install <node version number, eg: 10.15.3> nvm use 10.15.3
-
Yarn:
npm install -g yarn@<yarn version, e.g. 1.15.2>
NB: check required yarn version in package.json -
in Git bash:
git clone https://github.com/Augmint/augmint-ratesfeeder.git cd augmint-ratesfeeder yarn install
If python already installed but npm does not find it: npm --add-python-to-path='true' --debug install --global windows-build-tools (as administrator)
git pull
yarn install # if there were any node package changes in packages.json
-
Start ganache-cli (formerly testrpc)
yarn ganache:start
-
Run tests
yarn test
yarn ganache:start
yarn start
See .env.production
and set your keys in .env.production.local
yarn start:production