summaryrefslogtreecommitdiff
path: root/Makefile
blob: 26b97febc018567cdad5c475b5c69dbf2fe2b678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: serve

serve: build
	./venv/bin/nikola serve

build: venv/bin/nikola
	./venv/bin/nikola build --backend=sqlite3

venv/bin/nikola: venv/bin/python3
	./venv/bin/pip install -U wheel "Nikola[extras]" Flask-Dropzone

venv/bin/python3:
	python3 -m venv ./venv
	./venv/bin/pip install --upgrade pip

admin: venv/bin/python3
	./venv/bin/python3 admin/admin.py

.PHONY: admin