gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s

This commit is contained in:
2026-04-15 08:59:36 +02:00
commit ab73d05ecc
359 changed files with 14415 additions and 0 deletions

60
Makefile Normal file
View File

@@ -0,0 +1,60 @@
app ?= web
shell ?= bash
up:
docker compose up
build:
docker compose build
up-b:
docker compose up -b
db:
docker compose exec db sh
restart:
docker compose restart $(app)
collect:
docker compose exec web poetry run python manage.py collectstatic
makemigrations:
docker compose exec web poetry run python manage.py makemigrations
up-d:
docker compose up -d
logging:
docker compose logs -f web
down:
docker compose down
migrate:
docker compose exec web poetry run python manage.py migrate
superuser:
docker compose exec web poetry run python manage.py createsuperuser
shell:
@echo "Following logs for: $(app) shell: $(shell)"
docker compose exec $(app) $(shell)
test:
docker compose exec web poetry run python manage.py test
chown:
sudo chown -R user:user ./*
connect:
@echo "Following logs for: $(app)"
docker compose logs -f $(app)
pull:
git pull
push:
git add . && git commit -m "$(comment)" && git push
.PHONY: up