Spaces:
Running
Running
File size: 691 Bytes
9a03fcf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
#!/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"
|