Source for serving and static templating/compiling of https://joshstock.in.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
216 | 16 Oct 2024 22:44 | fb9522e | lazy loading | Josh Stockin | 4 | 62 | 2 | G |
Object | Latest Commit Subject | Time | Hash |
---|---|---|---|
nginx | commit updates | 05 Sep 2024 14:05 | b2bc5e5 |
site | lazy loading | 16 Oct 2024 22:44 | fb9522e |
.gitignore | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
LICENSE | Update LICENSE year to 2020 | 26 Jan 2020 15:54 | 8d865bc |
README.md | Update README | 22 Jan 2023 10:41 | ed1fd5d |
build.py | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
deploy | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
lazyload_compress.xsh | lazy loading | 16 Oct 2024 22:44 | fb9522e |
post-receive | Update post-receive documenting comment | 15 Mar 2023 16:41 | 2730e3c |
requirements.txt | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
resty-gitweb.yaml | Update resty-gitweb config | 12 Jan 2024 11:35 | dcef9a4 |
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
.