| 1 | # joshstock.in |
| 2 |
|
| 3 | Source code for compilation of the static joshstock.in. Include nginx conf and resty-gitweb subdomain conf files. |
| 4 |
|
| 5 | ## Usage |
| 6 |
|
| 7 | ``` |
| 8 | sudo ./deploy [test|prod] |
| 9 | ``` |
| 10 |
|
| 11 | This is automated by the `post-receive` git hook to automatically deploy on a |
| 12 | git push to the production server. The deploy bash script automatically |
| 13 | installs required Python modules and runs the templating script |
| 14 | (`site/targets.py`). The templating script makes use of reusable generator |
| 15 | scripts to build pages from Markdown-defined content. HTML generation is done |
| 16 | by `htmlgenerator` in `site/targets.py` and `site/generators/*.py`. |
| 17 |
|