Created initial project files
This commit is contained in:
17
launch.sh
Executable file
17
launch.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copy .env if it doesn't exist
|
||||
if [ ! -f .env ]; then
|
||||
cp .env.example src/.env
|
||||
echo ".env file created from template."
|
||||
fi
|
||||
|
||||
# Setup Virtual Environment
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
# Install dependencies
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Run the app
|
||||
python src/main.py
|
||||
Reference in New Issue
Block a user