Commit All
This commit is contained in:
		
							
								
								
									
										14
									
								
								run.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								run.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Activate the virtual environment if it exists
 | 
			
		||||
if [ -d ".venv" ]; then
 | 
			
		||||
    source .venv/bin/activate
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Run the FastAPI server with uvicorn
 | 
			
		||||
echo "Starting Calendar Server..."
 | 
			
		||||
echo "Access the calendar at: http://localhost:8000"
 | 
			
		||||
echo "Press Ctrl+C to stop the server"
 | 
			
		||||
echo ""
 | 
			
		||||
 | 
			
		||||
uv run uvicorn main:app --host 0.0.0.0 --port 8000 --reload
 | 
			
		||||
		Reference in New Issue
	
	Block a user