-
Notifications
You must be signed in to change notification settings - Fork 0
/
start-env-composers.sh
24 lines (21 loc) · 1.02 KB
/
start-env-composers.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
DIR=$(pwd)
SERVICES_DIR="services"
GENERAL_CONFIGURATIONS=$DIR
PRE_INSTALL_SERVICE=$SERVICES_DIR/"pre-install"
DATABASE_SERVICE_DIR=$SERVICES_DIR/"fogbow-database"
AUTHENTICATION_SERVICE_DIR=$SERVICES_DIR/"authentication-service"
RESOURCE_ALLOCATION_SERVICE_DIR=$SERVICES_DIR/"resource-allocation-service"
APACHE_SERVICE_DIR=$SERVICES_DIR/"apache-server"
XMPP_SERVICE_DIR=$SERVICES_DIR/"xmpp-server"
MEMBERSHIP_SERVICE_DIR=$SERVICES_DIR/"membership-service"
DASHBOARD_SERVICE_DIR=$SERVICES_DIR/"fogbow-gui"
FED_NET_SERVICE_DIR=$SERVICES_DIR/"federated-network-service"
FED_NET_AGENT_DIR=$SERVICES_DIR/"federated-network-agent"
SERVICES_LIST="$GENERAL_CONFIGURATIONS $PRE_INSTALL_SERVICE $DATABASE_SERVICE_DIR $AUTHENTICATION_SERVICE_DIR $RESOURCE_ALLOCATION_SERVICE_DIR $APACHE_SERVICE_DIR $XMPP_SERVICE_DIR $MEMBERSHIP_SERVICE_DIR $DASHBOARD_SERVICE_DIR $FED_NET_SERVICE_DIR $FED_NET_AGENT_DIR"
for service in $SERVICES_LIST; do
echo ""
echo "Running $service/env-composer.sh"
echo ""
bash $service/"env-composer.sh"
done