The backend is not currently being used right now but will eventually provide as the mechanism needed to index the symptoms and allow for efficient query results.
User guide to install, setup, and deploy contracts to a test network: https://joincolony.github.io/colonyjs/docs-get-started/
- Start
ganache-cli
and ensure it's running - Ensure TrufflePig is running and started
- Redeploy the contracts through TrufflePig
- (Optional) Start the
jsipfs daemon
and make sure it's accepting websocket connections- Make note of the address for the ws connection, should start with:
/ip4/127.0.0.1/tcp/4003/ws/...
- Make note of the address for the ws connection, should start with:
- Ensure you are connected to
Localhost 8545
- Import 3 different wallets using the private keys from TrufflePig:
localhost:3030/accounts
- Clone the project and cd into the project directory
- Run
npm install
in the root directory - Edit the
client/src/environments/environment.ts
file and update the following:- Set
colony.id
tonull
if running for the first time - Set
ipfs.swarm
to contain your local swarm address if running jsipfs, otherwise only keep the discovery swarm address
- Set
- Start the application with
npm start
- Once started, navigate to
localhost:4200
and you should be prompted to sign multiple txns for the colony setup - After all txns are processed, the colony id will be displayed in the console (id will most likely be 2)
- Set the
colony.id
to this value in theenvironment.ts
file - Refresh the browser and everything should be setup!