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

all:
	@echo "all not allowed"

release: venv
	cd front && npm run release

venv:
	[ -d "upnet-env" ] || python3 -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 && python3 back/app.py

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