demo-docker/README.md
2025-01-16 10:25:12 -03:00

15 lines
582 B
Markdown

# What is it?
This is just a small Vue.js demo app with a Django Rest API Backend that writes "Todos" to a Postgesql DB.
It serves as demo to on how to setup the containerization with docker.
clone the repo.
Adjust the .env files.
run: ```docker compose up --build```
run: ```docker-compose exec backend python manage.py createsuperuser``` and create a user in the backend.
the frontend runs on http://localhost:5173
local dev:
enables live updates of the code during development, no rebuild needed:
```docker-compose -f docker-compose.yml -f docker-compose.override.yml up```