First time run
lein deps
Compile contracts (assumes you have solc
installed):
lein solc
Auto compile contracts on changes:
lein solc auto
Start server:
ganache-cli -d -p 8545 -m district0x
lein repl
(start-server!)
node dev-server/district0x-tasks.js
Start UI:
lein garden once
lein repl
(start-ui!)
# go to http://localhost:4598/
ganache-cli -d -p 8545 -m district0x
lein test-doo
If change contracts code:
; auto compile Solidity code in project when files changed
lein solc auto
Remember this doesn't trigger cljs tests. So you have to change cljs tests files to trigger. For example add new line.
See docker-compose file in https://github.com/district0x/pipelines