Sem descrição

john melesky 69584bd503 blog post from back in May há 10 meses atrás
content 69584bd503 blog post from back in May há 10 meses atrás
.gitignore d968b108a7 ignore venv directories há 10 meses atrás
Makefile 42ffdb8a27 initial commit, largely pulled from pdorg_site há 2 anos atrás
README.md 393409d4b3 add deployment instructions now that I know them. há 2 anos atrás
pelicanconf.py a8b060b2cb update robots.txt and add ai.txt per https://neil-clarke.com/block-the-bots-that-feed-ai-models-by-scraping-your-website/ há 2 anos atrás
publishconf.py 42ffdb8a27 initial commit, largely pulled from pdorg_site há 2 anos atrás
tasks.py 42ffdb8a27 initial commit, largely pulled from pdorg_site há 2 anos atrás

README.md

pdorg_pelican

Installation

Yeah, yeah, some documentation.

This is written in Pelican, with a couple plugins, and uses a slightly-hacked pelican-sober theme.

From scratch:

  • install git and python 3 if they aren't already
  • pip install "pelican[markdown]"
  • pip install pelican-render-math
  • pip install markdown-captions
  • somewhere else, git clone git@github.com:jmelesky/pelican-sober.git
  • put the path to that repo in THEME in pelicanconf.py in this repo

Running locally

For the preview, pelican -r -l.

Deploying

Assuming you have the ssh keys set up properly:

  • make publish
  • make rsync_upload