Source for serving and static templating/compiling of https://joshstock.in.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
162 | 18 Jan 2023 11:19 | 5f6c164 | Update README.md | Josh Stockin | 1 | 8 | 3 | G |
Object | Latest Commit Subject | Time | Hash |
---|---|---|---|
nginx | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
site | Rephrase index page | 15 Jan 2023 16:04 | fd73c0d |
.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.md | 18 Jan 2023 11:19 | 5f6c164 |
build.py | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
deploy | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
post-receive | Make post-receive hook run deploy script as superuser | 13 Jul 2022 20:48 | 23d0748 |
requirements.txt | Website rewrite | 14 Jan 2023 23:37 | 5aaa26a |
resty-gitweb.yaml | 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.