My personal website
For sharing projects I've worked on and neat Canvas animations.
Frontend: Vue
Backend: Go
Machine: Raspberry Pi 3 Model B
For Raspberry Pi:
env GOOS=linux GOARCH=arm GOARM=5 go build -o server.exe server/*Note: This probably depends on the OS etc, but for Raspberry Pi this is what's worked.
Make the website file executable
chmod +x websiteCopy the website file into /etc/init.d
sudo cp website /etc/init.dUpdate system services
sudo update-rc.d website defaultsThen can use with
sudo service website {start|stop|status}