From eeaddb27560d723ca7d61359744ceb2709fccd2d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 15 Oct 2024 21:01:31 +0100 Subject: Renamed from pyblackbird_cc to alphabetlearning - everywhere --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') 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" -- cgit v1.2.3