diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,11 +1,13 @@ | |||
1 | all: install build serve | 1 | all: install build serve |
2 | 2 | ||
3 | install: venv | 3 | install: venv |
4 | python3 -m venv ./venv | ||
5 | ./venv/bin/pip install -U "Nikola[extras]" | 4 | ./venv/bin/pip install -U "Nikola[extras]" |
6 | 5 | ||
6 | venv: | ||
7 | python3 -m venv ./venv | ||
8 | |||
7 | build: | 9 | build: |
8 | ./venv/bin/nikola build --backend=sqlite3 | 10 | ./venv/bin/nikola build --backend=sqlite3 |
9 | 11 | ||
10 | serve: | 12 | serve: |
11 | ./venv/bin/nikola auto --backend=sqlite3 | 13 | ./venv/bin/nikola serve |