mitgliederverwaltung/Justfile
Rafael Epplée 04a2035634
All checks were successful
continuous-integration/drone/push Build is passing
Add Release scripts & Dockerfile
2025-05-21 17:42:48 +02:00

36 lines
No EOL
820 B
Makefile

run: install-dependencies migrate-database
mix phx.server
install-dependencies:
mix deps.get
migrate-database:
mix ash.setup
reset-database:
mix ash.reset
ci-dev: lint audit test
lint:
mix format --check-formatted
mix compile --warnings-as-errors
mix credo
audit:
mix sobelow --config
mix deps.audit
mix hex.audit
test:
mix test
format:
mix format
build-docker-container:
docker build --tag mitgliederverwaltung .
# This is meant for debugging the container build process only.
run-docker-container: build-docker-container
podman run -e "SECRET_KEY_BASE=ahK8BeiDaibaige1ahkooS0chie9lo7the7uuzar0eeBeeCh2iereteshee2Oosu" -e='DATABASE_URL=postgres://postgres@localhost:5432/mv_dev' -e='PORT=4040' -e='PHX_HOST=localhost' --network=host mitgliederverwaltung