mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
19 lines
473 B
Bash
19 lines
473 B
Bash
#!/bin/bash
|
|
|
|
echo "🚀 Development Mode - Setting up Frontend..."
|
|
|
|
# Install Node.js
|
|
if ! command -v node 2>&1 >/dev/null
|
|
then
|
|
echo "=== setting up nodejs ==="
|
|
curl -sL https://deb.nodesource.com/setup_23.x -o /tmp/nodesource_setup.sh
|
|
bash /tmp/nodesource_setup.sh
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends \
|
|
nodejs
|
|
fi
|
|
|
|
# Install frontend dependencies
|
|
cd /app/frontend && npm install
|
|
|
|
cd /app && pip install -r requirements.txt
|