* Removed unused get note diff function. It doesn't work because everything is encrypted now

* Added a script to sync down the prod database and files to dev
This commit is contained in:
Max G committed 2020-10-10 21:27:52 +00:00
1 parent 941d21d9cb
commit c7e342be4d
6 files changed
+62 -85

No files matched your search

+6 -6
View File
@@ -1,10 +1,10 @@
#!/bin/bash
echo 'Make sure this is being run from root folder of project'
cd /home/mab/ss
echo 'Starting Client webpack dev server (/app), in a screen, watching for file changes...'
screen -dm bash -c "cd client/; npm run watch"
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"
echo 'Starting API server (/api), watching for file changes...'
cd server
pm2 start ecosystem.config.js
echo '::--:: Starting API server (/api), watching for file changes...'
cd /home/mab/ss/server
pm2 start ecosystem.config.js