2019-07-30 12:10:31 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-10-10 14:27:52 -07:00
|
|
|
cd /home/mab/ss
|
2019-07-30 12:10:31 -07:00
|
|
|
|
2020-10-10 14:27:52 -07:00
|
|
|
echo '::--:: Starting dev server. cd client; npm run serve -> 192.168.1.164:8081'
|
2022-10-13 12:28:35 -07:00
|
|
|
screen -dmS "NoteClientScreen" bash -c "cd /home/mab/ss/client; npm run serve -- --port 8081 --https true"
|
2019-07-30 12:10:31 -07:00
|
|
|
|
2020-10-10 14:27:52 -07:00
|
|
|
echo '::--:: Starting API server (/api), watching for file changes...'
|
|
|
|
cd /home/mab/ss/server
|
2022-10-13 12:28:35 -07:00
|
|
|
pm2 flush
|
2022-12-20 09:42:38 -08:00
|
|
|
pm2 start ecosystem.config.js
|