Install dependencies with npm:
npm install
Start a local Ethereum chain using truffle:
truffle develop
Open a fresh terminal window and deploy the contracts:
truffle migrate
Make sure the truffle environment is running, then run tests
# Start ethereum chain if it's not already running
truffle develop
# In a new terminal, test application gas expenditures
truffle test test/test_ares.js
# Run all tests
truffle test
truffle migrate --network $NETWORK_NAME