Skip to content

Alpha Environment

Timothy Wang edited this page Mar 31, 2018 · 2 revisions

Jenkins CI/CD Pipeline (Link)

Imgur


Whenever a new commit is pushed into the master branch, the following build process will be executed.

1. Checkout VTCR

Checking out VTCR repo.

2. Migrate Contracts

Migrating a fresh instance of VTCR to our test-rpc (http://ganache.ventureum.io:8545)

Copying truffle build artifacts (json files) into VUI/contracts directory.

3. Install Dependencies

Installing VUI dependencies

4. Test

VUI unit and integration tests. (Currently, there's no tests in VUI)

5. Build

Executing react build process

6. Deliver to S3

Uploading react build artifacts to S3 (http://alpha.ventureum.io)


FAQ

How to view build status

Open Pipeline

How to test latest VUI?

Open http://alpha.ventureum.io

Connect metamask to http://ganache.ventureum.io:8545

How to restart ganache?

Go to Ganache web terminal, and run

./start-testrpc.sh 

Make sure to re-build!

How to get private keys of Ganache?

Go to Ganache web terminal, and run

head -n 50 ganache-cli.log 

How to connect metamask to Ganache testrpc?

Set metamask's custom RPC to http://ganache.ventureum.io:8545

Clone this wiki locally