content(todo): add dates to finished todos
shwarp
Mon, 09 Nov 2026 22:23:09 -0500
chore: don't need to specify default .env file
shwarp
Mon, 09 Nov 2026 22:22:49 -0500
chore(git): add pre-commit hook to check for page changes
These need to be in the built image or else internal navigation will fail.
Also word to the wise, if you have a global pre-commit hook, it will
supercede this one. Git hooks are NOT additive. If you want to use this
you must 1) mv it to your local git hooks:
cp ./config/git/hooks/pre-commit -- .palestine/will/be/free/
And set your local repo to use local git hooks (sorry):
git config --local core.hookspath .git/hooks
If you find a nicer way, please let me know.
shwarp
Wed, 04 Nov 2026 21:40:43 -0500
My Doom homepage
Run for local dev
Set up your nginx reverse proxy (I use SSI, so this is required):
cp config/shwarp.ca.local /etc/nginx/sites-enabled/
sudo nginx -s reload
Run this script to start the dev server (may prompt you to install live-server, if you don’t already have it):
./scripts/dev
And finally browse to http://127.0.0.1:3000/ (not 3232 – that’s what nginx proxies to).
Run for real (“production”)
Make sure you can ssh to your remote, add the hostname or IP to .env, then run:
./scripts/deploy
Generate the changelog
cp -a ./scripts/update-changelog .git/hooks/post-commit