commonroutesServer/runDevEnvironment.sh
runDevEnvironment.shRaw
1# simple bash script to run the system locally without Docker
2
3
4SESSION='CommonRoutes_Dev'
5
6tmux new-session -d -s $SESSION
7tmux split-window -d -t 0 -v
8tmux split-window -d -t 0 -h
9tmux split-window -d -t 2 -h
10
11
12tmux send-keys -t 0 'node server.js' enter
13tmux send-keys -t 1 'cd ../commonroutesApp && ionic serve' enter
14tmux send-keys -t 2 'cd ../commonroutesAdminWeb && http-server' enter
15
16tmux attach