mock fixes
This commit is contained in:
2
backend
2
backend
Submodule backend updated: 558b94bfb2...2fd378a936
@@ -26,7 +26,7 @@ cd contract || err cd contract
|
||||
bin/build.sh || err build error
|
||||
|
||||
# launch anvil
|
||||
anvil -f arbitrum_alchemy --chain-id 1338 --tracing &> ../tmp/anvil.txt &
|
||||
anvil -f arbitrum_mock --chain-id 1338 --tracing &> ../tmp/anvil.txt &
|
||||
ANVIL_PID=$!
|
||||
|
||||
# deploy mock environment
|
||||
|
||||
2
contract
2
contract
Submodule contract updated: 718e3f3a36...cb836ad2a3
@@ -44,12 +44,13 @@
|
||||
5. starts dragonfly (redis clone) using Docker
|
||||
6. log files for background processes go into `./tmp/*.txt`
|
||||
7. the script traps ctrl-c to cleanly shut down anvil & dragonfly
|
||||
3. run backend
|
||||
3. wait until the mock script says "ONCHAIN EXECUTION COMPLETE & SUCCESSFUL"
|
||||
4. run backend
|
||||
1. `cd backend`
|
||||
2. `PYTHONPATH=src python -u src/dexorder/bin/main.py`
|
||||
4. run server (port 3001)
|
||||
5. run server (port 3001)
|
||||
1. `cd server`
|
||||
2. `DEXORDER_PORT=3001 node main.js`
|
||||
5. browse to http://localhost:3000
|
||||
6. browse to http://localhost:3000
|
||||
|
||||
*NOTE*: you can leave the web process (Vue) running while resetting everything else from #2 onwards. Just refresh the web browser after a new mock deployment
|
||||
|
||||
Reference in New Issue
Block a user