This repository is meant to catch everyone up with the current state of things for starting the afternoon of Day 2.
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e ".[dev]"
pre-commit install
ruff check --fix .
source .venv/bin/activate # if not done already
docker compose up -d
run
# Build the image defined in the current directory, tagging it with the name "seollal-bootcamp"
docker build . -t seollal-bootcamp
docker compose up -d
# This runs the image as a container named backend-server, deletes the container when it stops,
# joins it to the network of the containers running via docker compose, publishes the container's
# port 80 to our port 8080, and sets the environment variables properly
docker run --name backend-server --rm \
--network seollal-bootcamp-2025-backend_default \
--env DB_HOST=database \
--publish 8080:80 \
seollal-bootcamp
Ctrl + C, then
docker compose down