first commit
This commit is contained in:
11
scripts/dev_frontend_demo.sh
Executable file
11
scripts/dev_frontend_demo.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/../frontend"
|
||||
if [ ! -d "node_modules" ]; then
|
||||
if [ -f "package-lock.json" ]; then
|
||||
npm ci
|
||||
else
|
||||
npm install
|
||||
fi
|
||||
fi
|
||||
VITE_DEMO_MODE=true npm run dev -- --host 0.0.0.0
|
||||
Reference in New Issue
Block a user