Big update to deploy scripts, and deploy prosecss
This commit is contained in:
1 parent
2d5d23b104
commit
590ae01055
141 files changed
+8483
-53810
No files matched your search
+6
-4
@@ -5,7 +5,7 @@
|
||||
# starts the local MySQL, and exports DB_* and JSON_KEY.
|
||||
#
|
||||
# Unlike startDevServerAndClient.sh (remote dev box, /home/mab/ss, Vue 2
|
||||
# client) this is path-relative and points at v2client-vite-vue3.
|
||||
# client) this is path-relative.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -28,14 +28,16 @@ cd "$REPO/server"
|
||||
# as $name, and pm2 uses $name to override the app name from ecosystem.config.js.
|
||||
pm2 delete NoteServer &>/dev/null || true
|
||||
pm2 flush &>/dev/null || true
|
||||
env -u name pm2 start ecosystem.config.js
|
||||
# --watch is a dev-only convenience; ecosystem.config.js leaves it off so a
|
||||
# production `git pull` can't restart the server mid-update.
|
||||
env -u name pm2 start ecosystem.config.js --watch
|
||||
cd "$REPO"
|
||||
|
||||
echo '::--:: Starting v2client dev server -> http://localhost:5173'
|
||||
cd "$REPO/v2client-vite-vue3"
|
||||
cd "$REPO/client"
|
||||
[ -d node_modules ] || pnpm install
|
||||
screen -S "V2ClientScreen" -X quit &>/dev/null || true
|
||||
screen -dmS "V2ClientScreen" bash -c "cd '$REPO/v2client-vite-vue3'; pnpm dev"
|
||||
screen -dmS "V2ClientScreen" bash -c "cd '$REPO/client'; pnpm dev"
|
||||
|
||||
cat <<MSG
|
||||
|
||||
|
||||
Reference in new issue
Block a user