This commit is contained in:
2026-04-27 15:08:43 +08:00
parent 04d853b7b2
commit acba445550
2 changed files with 11 additions and 0 deletions

4
build Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/mengyaprofile-frontend"
npm run build

7
dev Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
trap 'kill 0' EXIT
(cd mengyaprofile-backend && python app.py) &
(cd mengyaprofile-frontend && npm start) &
wait