Index

joshstock.in / 5f6c164

Source for serving and static templating/compiling of https://joshstock.in.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
16218 Jan 2023 11:195f6c164Update README.mdJosh Stockin183G

Tree

ObjectLatest Commit SubjectTimeHash
foldernginxWebsite rewrite14 Jan 2023 23:375aaa26a
foldersiteRephrase index page15 Jan 2023 16:04fd73c0d
file.gitignoreWebsite rewrite14 Jan 2023 23:375aaa26a
fileLICENSEUpdate LICENSE year to 202026 Jan 2020 15:548d865bc
fileREADME.mdUpdate README.md18 Jan 2023 11:195f6c164
filebuild.pyWebsite rewrite14 Jan 2023 23:375aaa26a
filedeployWebsite rewrite14 Jan 2023 23:375aaa26a
filepost-receiveMake post-receive hook run deploy script as superuser13 Jul 2022 20:4823d0748
filerequirements.txtWebsite rewrite14 Jan 2023 23:375aaa26a
fileresty-gitweb.yamlWebsite rewrite14 Jan 2023 23:375aaa26a

README

joshstock.in

Source code for compilation of the static joshstock.in. Include nginx conf and resty-gitweb subdomain conf files.

Usage

sudo ./deploy [test|prod]

This is automated by the post-receive git hook to automatically deploy on a git push to the production server. The deploy bash script automatically installs required Python modules and runs the templating script (site/targets.py). The templating script makes use of reusable generator scripts to build pages from Markdown-defined content.