12 lines
354 B
Bash
Executable File
12 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd /home/mab/ss
|
|
|
|
echo '::--:: Starting dev server. cd client; npm run serve -> 192.168.1.164:8081'
|
|
screen -dmS "NoteClientScreen" bash -c "cd /home/mab/ss/client; npm run serve -- --port 8081 --https true"
|
|
|
|
echo '::--:: Starting API server (/api), watching for file changes...'
|
|
cd /home/mab/ss/server
|
|
pm2 flush
|
|
pm2 start ecosystem.config.js
|