javascript

05
Feb

Setting Up Django With Vite On Windows Subsystem for Linux

This is documented piecemeal elsewhere, but I ran into enough small issues as a WSL user that it seemed worth writing up, and while django-vite is a cool tool I think it assumes a lot of domain knowledge that new users may not have.

Though I've been a fan of the HTMX minimal dependencies philosophy for a while, I am accepting the necessity of having some degree of JavaScript build pipeline: even if you're keeping all your logic on the back-end, there are plenty of things it's preferable to be able to install through NPM, and the Django ecosystem for

Read more
3 min read
18
Sep

Setting Up TiddlyWiki on a Remote Server with Systemd & Nginx

TiddlyWiki is a cool tool, but if you, like me, are insane interested in getting it set up on the cloud, it can be a bit of a hassle. Here's a quick set of instructions to get it to run automatically as a service on a Linux server - I used a Hetzner Ubuntu machine.

Install TiddlyWiki and create a server:

npm install -g tiddlywiki

tiddlywiki {server name} --init server

Create a systemctl file for Tiddlywiki, e.g. etc/systemd/system/tiddlywiki.service

Add the following for a barebones systemd service:

[Unit]
Description=TiddlyWiki Server
After=network.target
StartLimitIntervalSec=0
Read more
2 min read