aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 0b6adeeb3309a3a7bee85fde07c098f9f550bd67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

build:
	rm -rf public/
	hugo

stats: build
	@python3 scripts/stats.py public/wordstats.json

deploy: build
	rsync --rsync-path="sudo rsync" -avz --delete public/ ubuntu@feed.kagamino.dev:/var/www/kagamino_blog/

dev:
	hugo server -D

preprod:
	rm -rf public/
	hugo -D -b http://localhost:8000/
	python -m http.server -d public/