omnisealbench_mduppes / setup_dev.sh
Mark Duppenthaler
Test docker
9a03fcf
raw
history blame contribute delete
691 Bytes
#!/bin/bash
# Setup script for development environment
# Check for Docker
if ! command -v docker &> /dev/null; then
echo "Docker is not installed. Please install Docker first."
exit 1
fi
# Create virtual environment for backend
echo "Setting up backend..."
cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cd ..
# Install frontend dependencies
echo "Setting up frontend..."
cd frontend
npm install
cd ..
echo "Setup complete! You can now run the application with:"
echo "./start_dev.sh"
echo ""
echo "This will start both the frontend and backend in Docker containers."
echo "To stop the development environment, run:"
echo "./stop_dev.sh"