-
Notifications
You must be signed in to change notification settings - Fork 1
/
start.sh
17 lines (17 loc) · 681 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# This script runs the Instasoda services
#
clear
echo "===================================================="
echo "== INSTASODA activation sequence =="
echo "===================================================="
echo "== Activating Instasoda website and API service =="
echo "===================================================="
sudo start mongodb
forever stopall
forever start api/index.js
forever start web/index.js
echo "===================================================="
echo "== SUCCESS! =="
echo "== Type 'forever list' to view details =="
echo "===================================================="