Source for serving and static templating/compiling of https://joshstock.in.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
184 | 17 Mar 2023 17:44 | bd9e7e5 | Fix spacing issue with blog index header | Josh Stockin | 1 | 1 | 1 | G |
Object | Latest Commit Subject | Time | Hash |
---|---|---|---|
Cover root-level static files with nginx | 15 Mar 2023 16:38 | 3ff9d51 | |
Fix spacing issue with blog index header | 17 Mar 2023 17:44 | bd9e7e5 | |
Website rewrite | 14 Jan 2023 23:37 | 5aaa26a | |
Update LICENSE year to 2020 | 26 Jan 2020 15:54 | 8d865bc | |
Update README | 22 Jan 2023 10:41 | ed1fd5d | |
Website rewrite | 14 Jan 2023 23:37 | 5aaa26a | |
Website rewrite | 14 Jan 2023 23:37 | 5aaa26a | |
Update post-receive documenting comment | 15 Mar 2023 16:41 | 2730e3c | |
Website rewrite | 14 Jan 2023 23:37 | 5aaa26a | |
Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
Source code for compilation of the static joshstock.in. Include nginx conf and resty-gitweb subdomain conf files.
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
.