About This Site
This site is completely produced without any sort of dynamic content generation. That means no PHP, no Java, no ASP.NET and no Python. Nothing but pure, static HTML.
In order to keep the maintenence of the site manageable a set of tools are used to operate on the static files. Those tools need the following information to help them perform their work effectively:
BASE_URL | Base URL of the live site | http://jimmyg.org/ |
REMOTE_SCP | Publication SCP Path | jimmyg-live@188.40.40.131:lib/JimmygSite/code/trunk/jimmygsite/static |
SITE_ROOT | Site Root | ./ |
PHOTO_DIRECTORY | Base directory for binary photos | bin/photos |
GALLERY_DIRECTORY | Base directory for the gallery itself | life/photo |
GALLERY_TEMPLATE | Gallery template | Templates/jimmyg.dwt |
BLOG_DIRECTORIES | Blog directory for the blog | blog/ |
BLOG_TITLE | Blog title | Blog |
BLOG_HEADING | Blog heading | James Gardner's Blog |
BLOG_TEMPLATE | Blog template | Templates/jimmyg.dwt |
DEFAULT_TEMPLATE | Default template | Templates/jimmyg.dwt |
This file serves to explain how the site is structured as well as to provide the information the tools require.
There are a number of extension services being run:
Here's how I deploy:
~/env/bin/python -m sitetool.command orphans -c /home/james/Desktop/Sites/JimmygSite/code/trunk/jimmygsite/static/about.html --relative > /home/james/Desktop/Sites/JimmygSite/code/trunk/jimmygsite/static/orps.txt rsync -aLHxvz --progress --numeric-ids --exclude-from orps.txt /home/james/Desktop/Sites/JimmygSite/code/trunk/jimmygsite/static/ jimmyg-live@188.40.40.131:lib/JimmygSite/code/trunk/jimmygsite/static -e "ssh -p 30002"