membersystem/Justfile

20 lines
532 B
Makefile

run:
@echo "Running the server"
docker compose up --watch --remove-orphans
[positional-arguments]
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:
mypy --config-file=pyproject.toml .
# 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/