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

17 lines
347 B
Makefile
Raw Normal View History

2021-06-16 08:01:13 +00:00
.DEFAULT: run
2021-06-16 09:17:32 +00:00
.PHONY: run build push
2021-06-16 08:01:13 +00:00
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
2021-06-16 09:17:32 +00:00
build:
@docker build -t decentral1se/pubspace .
push: build
@docker push decentral1se/pubspace