Glossify / setup.sh
ldm0612's picture
fix(frontend): use relative imports for CI build
f5a09f9
Raw History Blame Contribute Delete
716 Bytes
#!/bin/bash
echo "Setting up Glossify-PoC..."
# Backend setup
echo "Setting up backend..."
cd backend
conda activate BAI6
pip install -r requirements.txt
cp env.example .env
echo "Backend setup complete. Don't forget to set your OPENAI_API_KEY in .env"
# Frontend setup
echo "Setting up frontend..."
cd ../frontend
npm install
cp env.local.example .env.local
echo "Frontend setup complete. Don't forget to set your NEXT_PUBLIC_API_URL in .env.local"
echo "Setup complete!"
echo ""
echo "To run the application:"
echo "1. Start the backend: cd backend && source venv/bin/activate && python app/main.py"
echo "2. Start the frontend: cd frontend && npm run dev"
echo "3. Open http://localhost:3000 in your browser"