Skip to content

Commit 3362367

Browse files
authored
Generator macsupport (#91)
* added generator mac option * further mac mode integration (wip) * fix * localhost not working change to 127.0.0.1 * backend url * bump ver * rm test file * fix bug with npm notice log * add linux as default OS * bump ver components * add condition start script * trig ci * trig * exit with error signal when script fail * fix wrong file name
1 parent f4b1d73 commit 3362367

File tree

4 files changed

+229
-147
lines changed

4 files changed

+229
-147
lines changed

subnet/deployment-generator/docker/deploy_csc.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ else
1717
exit 1
1818
fi
1919

20-
line=$(tail -n 1 csc.log)
21-
echo $line
22-
found=$(echo $line | grep "deployed to")
20+
found=$(cat csc.log | grep -m 1 "deployed to")
2321
echo $found
2422

2523
if [[ $found == '' ]]

subnet/deployment-generator/docker/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
2-
node /app/script/gen.js
3-
puppeth --file /app/generated/genesis_input.yml --out /app/generated/
2+
node /app/script/gen.js && puppeth --file /app/generated/genesis_input.yml --out /app/generated/
3+
44

55
if [[ -n "${SLEEP}" ]]; then
66
echo "sleep ${SLEEP}"

0 commit comments

Comments
 (0)