include .env
export

.PHONY: clean run run-docker tailwind test

clean:
	rm -rf __pycache__ app/__pycache__

run:
	.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 4000 --reload

run-local:
	BTCDATA_URL=$(BTCDATA_LOCAL_URL) .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 4000 --reload

tailwind:
	npm run css:watch

test:
	.venv/bin/python -m pytest tests/
