commit 12866f1911ebefc40cf4f988cd59d620e8b50a96 from: Omar Polo date: Mon Oct 04 12:54:46 2021 UTC add targets to serve the site locally commit - ae6870fa3bf25561a3f6bd8465ba86307af5d5bb commit + 12866f1911ebefc40cf4f988cd59d620e8b50a96 blob - 77c7b22fb5ba30873a253a19d9c7de114d68b823 blob + 8d3abbc583c4d6b837d8875113e99875c3ef73dd --- site/Makefile +++ site/Makefile @@ -1,4 +1,4 @@ -.PHONY: all +.PHONY: all serve-www serve-gemini all: gmid.1.html gmid.1.txt @@ -7,3 +7,9 @@ gmid.1.html: ../gmid.1 gmid.1.txt: ../gmid.1 MANWIDTH=72 man -Tutf8 -l $? | col -b > $@ + +serve-www: + python3 -m http.server 8888 + +serve-gemini: + gmid -p 1966 .