Pelican-based static site used temporarily as a placeholder for the FOSSY conference site.
Was initially "stitched" in to serve informational pages within the Django/Symposion site, similar to the approach of linux.conf.au/Everything Open conferences. Since we're using Conservancy's existing News/Blog though, this approach turned out to be unnecessarily complicated and we switched to Django flatpages instead.
content | ||
deploy | ||
src | ||
themes/fossy | ||
Makefile | ||
pelicanconf.py | ||
publishconf.py | ||
README.md | ||
tasks.py |
This site uses the Pelican static site builder, which you can install with something like:
apt install pelican
To work on the site locally, run:
pelican devserver
To deploy run:
export SSH_HOST=...
export SSH_PORT=22
export SSH_USER=...
export SSH_TARGET_DIR=...
make publish
make ssh_upload
(The ssh_upload
command is slower than rsync_upload
, but rsync_upload
will
delete files, so you need to be 100% sure the target directory is set
correctly.)