Index

joshstock.in / 8b95967

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
21315 Oct 2024 20:078b95967images moveJosh Stockin87865G

Tree

ObjectLatest Commit SubjectTimeHash
foldernginxcommit updates05 Sep 2024 14:05b2bc5e5
foldersiteimages move15 Oct 2024 20:078b95967
file.gitignoreWebsite rewrite14 Jan 2023 23:375aaa26a
fileLICENSEUpdate LICENSE year to 202026 Jan 2020 15:548d865bc
fileREADME.mdUpdate README22 Jan 2023 10:41ed1fd5d
filebuild.pyWebsite rewrite14 Jan 2023 23:375aaa26a
filedeployWebsite rewrite14 Jan 2023 23:375aaa26a
filepost-receiveUpdate post-receive documenting comment15 Mar 2023 16:412730e3c
filerequirements.txtWebsite rewrite14 Jan 2023 23:375aaa26a
fileresty-gitweb.yamlUpdate resty-gitweb config12 Jan 2024 11:35dcef9a4

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. HTML generation is done by htmlgenerator in site/targets.py and site/generators/*.py.