demo-docker/README.md

16 lines
582 B
Markdown
Raw Normal View History

2025-01-16 14:17:25 +01:00
# 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
2025-01-16 14:25:12 +01:00
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```