run.sh 289 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. echo "Starting network...."
  3. testrpc &
  4. echo "Compiling project..."
  5. truffle compile
  6. echo "Migrating oracle...."
  7. truffle migrate
  8. echo "Starting oracle....."
  9. node oracle.js &
  10. echo "Running first client...."
  11. node client.js &
  12. echo "Running second client..."
  13. node client.js &