Skip to main content

Found a typo in my blog, and then ...

Today I remembered this little weblog again, and as I was looking through the pages, I noticed a typo. Easy fix, I know where the posts are on my laptop, so I can fix the mistake in maybe 10 seconds locally.

But then I have to convince nikola (the static site generator) to re-build the site, so I can upload the fix. Since I haven't touched anything in a while, this might be broken... and it was.

First I had to update / upgrade the virtualenv (in Python 3 this is called a "venv" now). The magic incantation is something like this:

python3 -m venv --upgrade <path_to_dir>

(Where python3 is the python interpreter that should run the whole circus afterwards.)

Next I had to pip install --upgrade nikola, the same for pip itself, then it wanted to have jinja2 installed in the virtualenv (no idea why it wasn't)... and then it worked. Not too bad, all in all. It leaves me enough time to go for a walk before the sun goes down now.