For more information, visit our wiki page: https://bodhiproject.github.io/wiki/
- Download Docker:
- Mac: https://store.docker.com/editions/community/docker-ce-desktop-mac
- Windows: https://store.docker.com/editions/community/docker-ce-desktop-windows
- In project root directory, run script:
./run_docker.sh
- After the Dockerfile builds, you should see a new command line which is Debian (Jessie) with Node installed. All project files will automatically be copied over to the Docker container. All you need to do to test is:
truffle test
- Install Node JS 6.9.1 minimum: Either with install package or via package manager: https://nodejs.org/en/download/
- Install truffle (currently 4.0.0-beta.2):
npm install -g truffle@^4.0.0-beta.2
- Run the NPM package.json script:
npm install
- Start truffle dev environment:
truffle develop
- Run test in truffle dev command line:
test
- (Optional) If you want to see the logs from the test, open a new terminal window and:
truffle develop --log