uncloud/uncloud_v3/Makefile

19 lines
325 B
Makefile
Raw Normal View History

2022-07-16 16:22:52 +00:00
IMAGE=ungleich/uncloud
all: requirements build
build:
sh -c 'docker build -t $(IMAGE):$$(git describe) .'
pub: build
docker push $(IMAGE):$$(git describe)
2022-01-02 17:29:35 +00:00
run: requirements
. ./env && python manage.py runserver
requirements: venv
. ./venv/bin/activate && pip install -r requirements.txt
venv:
python3 -m venv venv