- Go
- Homebrew
- Cross compiler gcc
brew tap SergioBenitez/osxct
brew install x86_64-unknown-linux-gnu
TELEGRAM_BOT_TOKEN=...
TELEGRAM_CHAT_ID=...
STATS_ROUTE=...
- Run
pnpm run build
(compiles go binary & compile tailwind css file) - Stop active process running on VPS
- Do a git pull in VPS machine
- Copy binary file to VPS machine
scp -r ./main <user>@<ip>:<location>
- Run binary file (don't forget to load env vars)