add config.sample.mk and deployment instructions

This commit is contained in:
sceox 2022-08-01 11:52:00 -07:00
parent f68d310cc5
commit 1f1b65bf77
3 changed files with 25 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
dst dst
tmp tmp
config.mk

View File

@ -98,6 +98,20 @@ The rest of the heavy lifting is done by a modified version of
[ssg](https://www.romanzolotarev.com/ssg.html) which is included [ssg](https://www.romanzolotarev.com/ssg.html) which is included
in this source code. ssg requires a POSIX /bin/sh, and awk. in this source code. ssg requires a POSIX /bin/sh, and awk.
## Deployment
Configure a webserver to serve static content (HTML, CSS, etc) from a
directory. You will define that directory as `DST` in the next step.
Clone this repository. Copy config.sample.mk to config.mk and edit it:
cp config.sample.mk config.mk
micro config.mk
Run make:
make
## TODOs ## TODOs
* [ ] TODO discuss and decide on sections * [ ] TODO discuss and decide on sections

10
config.sample.mk Normal file
View File

@ -0,0 +1,10 @@
TITLE = "Anarchy Planet"
BASE_URL = "anarchyplanet.org"
CONTACT_EMAIL = "contact@anarchyplanet.org"
# static site generator
SSG = ./ssg6
# source and destination directories
SRC = src
DST = /var/www/htdocs