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