dockerize app + add celery + impl pushpin for message events
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user