diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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" |