From e06f18ce17bee47eb07a5529eb3842e0625d53c6 Mon Sep 17 00:00:00 2001 From: kayela Date: Tue, 6 Jan 2026 12:30:26 -0600 Subject: [PATCH] Add start script for backend server initialization and update .gitignore --- .gitignore | 1 + start.sh | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 start.sh diff --git a/.gitignore b/.gitignore index 65cc126..e10b342 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ .env.* !.env.example .envrc +.sh # ===== Python ===== # Byte-compiled / optimized / DLL files diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..ea3cde2 --- /dev/null +++ b/start.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Exit immediately if a command fails +set -e + +# Activate virtual environment +source .venv/bin/activate + +# Start the backend +python -m uvicorn server:app --reload --port 8000