File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,13 @@ Two environment variables can be passed to `rebar3` when deploying an applicatio
99A full call to the ` deploy ` function of the rebar3 Grisp plugin for an Achlys application could look like :
1010
1111` IP=X.X.X.X NAME=board_name rebar3 grisp deploy -n app_name -v 0.1.0 `
12+
13+ # Test shell deployment
14+
15+ A full call to the command below dynamically assigns the correct local IPv4 address to Partisan and the local short name :
16+
17+ ` NAME=$(echo hostname -s) PEER_IP=$(ifconfig | grep "inet " | grep -m 1 -Fv 127.0.0.1 | awk '{print $2}' | sed 's/\./,/g') IP=$(ifconfig | grep "inet " | grep -m 1 -Fv 127.0.0.1 | awk '{print $2}') rebar3 as test shell --sname achlys --setcookie MyCookie --apps achlys `
18+
19+ Once the ` rebar3 shell ` is launched, the Partisan configuration can be verified using :
20+
21+ ` (lasp_peer_service:manager()):myself() `
You can’t perform that action at this time.
0 commit comments