-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathtest.sh
More file actions
10 lines (9 loc) · 711 Bytes
/
Copy pathtest.sh
File metadata and controls
10 lines (9 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
#if you want to use a different port, then start like this:
# sh start 3666
#sh clean.sh #this deletes the database so every time we re-start, we have 0 blocks again. only needed during testing.
./rebar get-deps
#sh clean.sh #this deletes the database so every time we re-start, we have 0 blocks again. only needed during testing.
./rebar compile #this line checks if any modules were modified, and recompiles them if they were. only needed during testing.
#echo "GO TO THIS WEBSITE -------> http://localhost:3011/login.html"
#sleep 1
erl -pa ebin deps/*/ebin/ -eval "application:ensure_all_started(testnet), serve:pw($1), peers:add({46,101,103,165}, 8080), peers:add({127,0,0,1}, 3020), keys:unlock(\"abc\")"