4 ms·
Neat setup. Regarding the deploy script. I have just setup a separate VPS for proxying database queries using various Node database drivers for my own project[1
by l5870uoo9y 3y ago
Neat setup. Regarding the deploy script. I have just setup a separate VPS for proxying database queries using various Node database drivers for my own project[1] and only used Github Actions managing it[2]:
- add build script using Github Action that fails the entire build pipeline if code doesn't build
- add deploy script (essentially a few commands ssh into your VPS and pulling, install, building and restarting)
I was surprised how easy it was. Naturally you need to get your hands a bit dirty compared to managed solutions, but using AWS with Lambda, Gateway, NAT (since I required a static IP) would have taken way time and costed significantly more.
[1]: https://aihelperbot.com/ https://aihelperbot.com/
[2]: https://gist.github.com/danielwetan/4f4db933531db5dd1af2e69ec8d54d8a https://gist.github.com/danielwetan/4f4db933531db5dd1af2e69e...