Setting up
Table of Contents
Locally
Prerequisites:
Created an account on GitLab via invite
Ganache-cli installed
Truffle suite installed
Code editor installed
In the contracts terminal:
truffle compile truffle deploy
Run
ganache-cli -d -i 333 --chainId 333
In the trollbox terminal:
git checkout develop git pull yarn install ./scripts/import-contracts.sh
In the main trollbox folder create a file .env.local and put in there:
SKIP_PREFLIGHT_CHECK=true ESLINT_NO_DEV_ERRORS=true REACT_APP_LOCAL_PROVIDER_URL='ws://207.154.210.94:8545'
Run application:
yarn start
On Remote Server
Prerequisites:
Created an account on GitLab via invite
Code editor installed
On MacOS: wget install
Testing server address: 207.154.210.94:8545
In the trollbox terminal:
git checkout develop git pull yarn install
Update contracts, see here.
In the main trollbox folder create a file .env.local and put in there:
REACT_APP_LOCAL_PROVIDER_URL='http://207.154.210.94:8545’
Run application:
yarn start