-
Notifications
You must be signed in to change notification settings - Fork 27
/
install.sh
executable file
·24 lines (20 loc) · 1008 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
echo 'Creating Volume Mount for Docker...'
mkdir -p ${HOME}/jarloc
#echo 'getting config from git...'
#if [[ ! -d "${HOME}/jarloc/microservice-docker-cart-config" ]]; then
#git clone [email protected]:hiteshjoshi1/microservice-docker-cart-config.git ${HOME}/jarloc/#microservice-docker-cart-config
#fi
echo 'Building the entire project ...'
mvn clean package -DskipTests
echo 'Copying .....'
cp servicediscovery/target/servicediscovery-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
cp config/target/config-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
cp customer/target/customer-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
cp inventory/target/inventory-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
cp invoice/target/invoice-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
cp monitor/target/monitor-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
cp zuulEdgeGateway/target/zuulEdgeGateway-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
cp zipkinTimer/target/zipkinTimer-0.0.1-SNAPSHOT.jar ${HOME}/jarloc
echo 'All engines up, ready to launch to hyperspace .....'
docker-compose up