Skip to content

Commit 1d156db

Browse files
committed
Add build scripts to run the stack.
These are convenience scripts.
1 parent cc5dda0 commit 1d156db

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

sh/build_stack.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
# Kill and remove the docker container
4+
docker rm -f stack_refarch_api
5+
docker rm -f stack_refarch_ods
6+
7+
# Run the Stack
8+
docker-compose up --remove-orphans

sh/runstack.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
# Set the configuration environment variables
4+
source ./sh/dev.env.sh
5+
6+
# Build and publish the app
7+
source ./sh/build_app.sh
8+
9+
# Kill and remove the stack's docker containers
10+
# Run the stack
11+
source ./sh/build_stack.sh

0 commit comments

Comments
 (0)