add config.sample.mk and deployment instructions
This commit is contained in:
parent
f68d310cc5
commit
1f1b65bf77
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
dst
|
||||
tmp
|
||||
config.mk
|
||||
|
14
README.md
14
README.md
@ -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
|
||||
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
|
||||
|
||||
* [ ] TODO discuss and decide on sections
|
||||
|
10
config.sample.mk
Normal file
10
config.sample.mk
Normal 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
|
Loading…
Reference in New Issue
Block a user