This repository has been archived on 2021-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
pubspace/makefile
decentral1se bf5c0c96e3
Drop dep
2021-06-16 11:22:42 +02:00

17 lines
341 B
Makefile

.DEFAULT: run
.PHONY: run build push
run:
@if [ ! -d ".venv" ]; then \
python3 -m venv .venv && \
.venv/bin/pip install -U pip setuptools wheel poetry && \
.venv/bin/poetry install; \
fi
.venv/bin/poetry run uvicorn pubspace:app --reload
build:
@docker build -t decentral1se/pubspace .
push:
@docker push decentral1se/pubspace