dockerize app + add celery + impl pushpin for message events

This commit is contained in:
2023-09-18 14:29:37 +02:00
parent bd11ddbd60
commit 5d51bc6637
28 changed files with 353 additions and 302 deletions
+14 -2
View File
@@ -1,4 +1,4 @@
#TODO(rmanach): add a pyproject.toml
# TODO(rmanach): add a pyproject.toml
format:
black deployment/*.py
@@ -12,5 +12,17 @@ migrations:
python manage.py makemigrations
python manage.py migrate
django:
docker build . -t mumui:local
pushpin-local:
cd pushpin && docker build . -t pushpin:local
nginx-local:
cd nginx && docker build . -t nginx:local
run:
python manage.py runserver
docker compose up
stop:
docker compose down