summaryrefslogtreecommitdiffstats
path: root/makefile
blob: 147129cc5709e00fb8a6cd80808329f239b783cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SHELL := bash
PYTHON ?= python3

all:
	@echo "all not allowed"

release: venv
	cd front && npm install && npm run release

venv:
	[ -d "upnet-env" ] || $(PYTHON) -m venv upnet-env
	source upnet-env/bin/activate && pip install -U pip && pip install -r back/requirements.txt

run:
	source upnet-env/bin/activate && $(PYTHON) back/app.py

clean:
	rm -rf upnet-env
	rm -rf front/dist