-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstart
executable file
·21 lines (21 loc) · 988 Bytes
/
start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
forever stopall
forever start -o ./client.log Client/main.js
forever start -o ./client_gui.log Client_GUI/main.js
echo " "
echo " o| | | o "
echo ",-.-.,---.,---..| | ,---.,---.,---|,---. .,---.,-.-."
echo "| | || | ||| | | | || ||---' |,---|| | |"
echo "\` ' '\`---'\`---|\`\`---'\`---' \`---'\`---'\`---'\`---' |\`---^\` ' '"
echo " \`---' \`---' "
echo "November 16-18, 2012 Adrian Lee <[email protected]>"
echo " "
echo " - 2 deamon processes created, run './stop.sh' to kill processes."
echo " "
echo " - Visit http://<ip address below>:8080 to access the Client's GUI interface"
echo " "
echo "VM LAN IP Address:"
ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'
echo " "
echo "Tailing output log file 'client.log':"
echo "====================================="
tail -f ./client.log