Skip to content

Commit a6b35d5

Browse files
committed
setup script became independent
1 parent 2e2fb42 commit a6b35d5

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

build.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# -- running setup script
2-
bash run/setup.sh
3-
4-
# -- getting all docker-compose files
1+
# -- getting docker-compose files
52
DC_FILES="docker-compose.main.yml"
63
for F in `find ./services -type f -maxdepth 1 -name "docker-compose*.yml"`
74
do
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# -- running system bash files
2-
bash run/acme.sh
3-
bash run/data.sh
4-
51
# -- running services' bash files
2+
BASH_SYSTEM_FILES="bash run/acme.sh; bash run/data.sh;"
63
BASH_FILES=""
74
for F in `find ./run/services -type f -maxdepth 1 -name "*.sh"`
85
do
96
BASH_FILES="$BASH_FILES bash $F;"
107
done
11-
eval $BASH_FILES
8+
eval "$BASH_SYSTEM_FILES $BASH_FILES"
9+
10+
# -- .env.example -> .env
11+
mv .env.example .env

0 commit comments

Comments
 (0)