17 lines
308 B
Bash
Executable File
17 lines
308 B
Bash
Executable File
#!/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 |