Files
ipam/run.sh
T

20 lines
302 B
Bash
Executable File

#!/bin/bash
set -e
echo "Building frontend UI..."
cd frontend
npm install
npm run build
cd ..
echo "Setting up Python virtual environment..."
if [ ! -d "venv" ]; then
python3 -m venv venv
fi
source venv/bin/activate
pip install -r requirements.txt
echo "Starting server..."
python app.py serve