wedding-site-backend/README.md
2024-02-18 14:09:12 +00:00

628 B

wedding-site-backend

Web backend for hosting a wedding website.

Run Local server:

source .venv/bin/activate
cd wedding_site
python manage.py runserver

Do Migrations

cd wedding_site
python manage.py makemigrations primary
python manage.py migrate

Run Dev Server in container

podman-compose -f compose.yaml up -d --build

Bring it down with:

podman-compose down -v

Run Prod Server

podman-compose -f compose.prod.yaml up -d --build

Sync static files:

podman-compose -f compose.prod.yaml exec web python manage.py collectstatic --no-input --clear