Skip to content

Commit 84a6a22

Browse files
committed
build: Update 'npm run start:all' script to upderstrand easily the message #22
1 parent 3257522 commit 84a6a22

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/start-all.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
# Print message on console.
2+
echo "[info] Starting server and client..."
3+
4+
# OS variable
15
CHECK_OS="`uname -s`"
26

7+
# Check OS and then RUN the services
38
if [[ ${CHECK_OS} = "Darwin"* ]]; then
49
npm run build --prefix ./server/app && docker-compose -f ./server/docker-compose.yml --env-file ./config/.server.env up -d && npm run start:client
510
elif [[ "$CHECK_OS" = "Linux"* ]]; then
@@ -11,3 +16,6 @@ elif [[ ${CHECK_OS} = "MINGW64"* ]]; then
1116
elif [[ ${CHECK_OS} = "CYGWIN"* ]]; then
1217
npm run start:windows
1318
fi
19+
20+
# Print message on console.
21+
echo "[info] Now enjoy the your dev-portfolio web!!"

0 commit comments

Comments
 (0)