Prototype code which exemplifies the decode platform and its apps to provide feedback to real code whilst building out the architecture

restart_chainspace.sh 319B

1234567891011121314151617181920
  1. killall java
  2. killall python
  3. find . | grep database.sqlite | xargs rm
  4. cd $HOME/chainspace/nodes/nodes/nodes
  5. :> /tmp/cs.log
  6. cd node_0_0; ./start_node.sh &>> /tmp/cs.log &
  7. cd ..
  8. sleep 5
  9. cd node_0_1; ./start_node.sh &>> /tmp/cs.log &
  10. cd ..
  11. sleep 5
  12. cd client-api; ./start_client_api.sh &>> /tmp/cs.log &
  13. cd ..
  14. sleep 5