-
Notifications
You must be signed in to change notification settings - Fork 3
/
run.sh
executable file
·30 lines (26 loc) · 1.38 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
echo on
dfx canister install --all &> tmp.txt
dfx canister call --async user start '(0)'
dfx canister call --async user-1 start '(1)'
dfx canister call --async user-2 start '(2)'
dfx canister call --async user-3 start '(3)'
dfx canister call --async user-4 start '(4)'
dfx canister call --async user-5 start '(5)'
dfx canister call --async user-6 start '(6)'
dfx canister call --async user-7 start '(7)'
dfx canister call --async user-8 start '(8)'
dfx canister call --async user-9 start '(9)'
dfx canister call --async helper startHelper '(0)'
dfx canister call --async helper-1 startHelper '(1)'
dfx canister call --async helper-2 startHelper '(2)'
dfx canister call --async helper-3 startHelper '(3)'
dfx canister call --async helper-4 startHelper '(4)'
dfx canister call --async helper-5 startHelper '(5)'
dfx canister call --async helper-6 startHelper '(6)'
dfx canister call --async helper-7 startHelper '(7)'
dfx canister call --async helper-8 startHelper '(8)'
dfx canister call --async helper-9 startHelper '(9)'
# echo CanDid UI url
cat tmp.txt | sed -n '/shield_assets/p' | sed -e 's|Installing code for canister shield_assets, with canister_id ic:|CanDid UI: http://localhost:8000/candid?canisterId=ic:|g'
# echo FrontEnd UI url
cat tmp.txt | sed -n '/shield_assets/p' | sed -e 's|Installing code for canister shield_assets, with canister_id ic:|Frontend UI: http://localhost:8000/?canisterId=ic:|g'