Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 536 Bytes

updating.md

File metadata and controls

17 lines (12 loc) · 536 Bytes

Updating the Application

To update the application, git pull the latest main branch and run:

# tear down the old services
docker compose -f docker-compose.yml -f docker-compose.prod.yml down

# build new container images
docker compose -f docker-compose.yml -f docker-compose.prod.yml build

# start the services
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d

# apply any new schema migrations
docker compose -f docker-compose.yml -f docker-compose.prod.yml run --rm django ./manage.py migrate