Files
survive-backend/README.md
2025-10-04 15:42:00 +02:00

567 B

Quick Setup

# Build the Docker image
docker build -t myapp .

# Run the container
docker run -p 8000:8000 myapp

Clone the repository

Create virtual environment

python3 -m venv .venv

Activate virtual environment

Linux/macOS:

source .venv/bin/activate

Windows (cmd):

.venv\Scripts\activate

Upgrade pip

pip install --upgrade pip

Install dependencies

pip install -r requirements.txt

Run migrations

alembic upgrade head

Start the app

uvicorn src:app --host 0.0.0.0 --port 8000 --log-level info