Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 545 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 545 Bytes

adabit.org

Building instructions

We use pnpm and sveltekit here, so it's a simple pnpm build. node build

oh and i wrote a shitty systemd service file that doesnt restart correctly, so assuming you cloned the repo to /home/ada/newsite/ here you go

[Unit]
Description=adabit
After=multi-user.target

[Service]
Type=simple
ExecStart=bash -c "cd /home/ada/newsite&& npm run build && PROTOCOL_HEADER=x-forwarded-proto HOST_HEADER=x-forwarded-host node build"
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=multi-user.target