forked from FINRAOS/Gatekeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.sh
More file actions
executable file
·35 lines (31 loc) · 787 Bytes
/
start.sh
File metadata and controls
executable file
·35 lines (31 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
set -e
if [[ -z "${http_proxy}" ]]; then
echo "No Proxy provided, setting http_proxy to be blank"
export http_proxy=""
fi
if [[ -z "${AWS_DIRECTORY}" ]]; then
echo "Please set AWS_DIRECTORY environment before proceeding"
exit 1;
fi
pushd containers
echo "Building base gatekeeper containers"
docker-compose build
popd
pushd demo-services/fake-account-service
echo "Building gatekeeper demo services"
mvn clean install
popd
pushd services
echo "Building gatekeeper ec2 + rds services"
mvn clean install
popd
pushd ui
echo "Building gatekeeper ui"
npm install
npm run build
popd
echo "Building gatekeeper containers"
docker-compose -f local-docker-compose.yml build
echo "Starting gatekeeper local environment"
docker-compose -f local-docker-compose.yml up