membersystem/Justfile

22 lines
566 B
Makefile
Raw Normal View History

2024-12-26 00:03:26 +01:00
run:
@echo "Running the server"
docker compose up --watch --remove-orphans
manage *ARGS:
@echo "Running manage command"
docker compose run -w /app/src --rm -u `id -u` app python manage.py {{ARGS}}
build:
@echo "Building the app"
docker compose build
typecheck:
docker compose run -w /app/src --rm app mypy .
test:
docker compose run --rm app pytest
2024-12-26 00:03:26 +01:00
# You need to install Stripe CLI from here to run this: https://github.com/stripe/stripe-cli/releases
stripe_cli:
stripe listen --forward-to 0.0.0.0:8000/order/stripe/webhook/