aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
commiteeaddb27560d723ca7d61359744ceb2709fccd2d (patch)
tree04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /Makefile
parent7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff)
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 300a5f4..de27106 100644
--- a/Makefile
+++ b/Makefile
@@ -3,22 +3,22 @@ all: build run migrate collectstatic
start: build run migrate collectstatic
sass:
- sass --no-source-map ~/code/python/pyblackbird_cc/pyblackbird_cc/static/scss/custom.scss ~/code/python/pyblackbird_cc/pyblackbird_cc/static/css/custom.css
+ sass --no-source-map ~/code/python/alphabetlearning/alphabetlearning/static/scss/custom.scss ~/code/python/alphabetlearning/alphabetlearning/static/css/custom.css
sync-env:
- scp .env-prod substracker-web:code/pyblackbird_cc/.env
+ scp .env-prod substracker-web:code/alphabetlearning/.env
build:
- @docker build -f compose/production/django/Dockerfile -t pyblackbird_cc:latest .
+ @docker build -f compose/production/django/Dockerfile -t alphabetlearning:latest .
push:
- @docker build -f compose/production/django/Dockerfile -t pyblackbird_cc:latest . && docker tag pyblackbird_cc registry.digitalocean.com/twentyfour-registry/pyblackbird && docker push registry.digitalocean.com/twentyfour-registry/pyblackbird
+ @docker build -f compose/production/django/Dockerfile -t alphabetlearning:latest . && docker tag alphabetlearning registry.digitalocean.com/twentyfour-registry/pyblackbird && docker push registry.digitalocean.com/twentyfour-registry/pyblackbird
clean-registry:
@doctl registry garbage-collection start --include-untagged-manifests twentyfour-registry
run:
- @docker run -d --rm --name pyblackbird_cc_django --env-file .env -p 8080:8080 pyblackbird_cc
+ @docker run -d --rm --name alphabetlearning_django --env-file .env -p 8080:8080 alphabetlearning
collectstatic:
@docker run --rm --env-file .env -v .:/app pyblackbird sh -c "python manage.py collectstatic --noinput"