Piku: Allows git push deployments to your own servers
131–140 of 169 posts
Re: Piku: Allows git push deployments to your own servers
#132Re: Piku: Allows git push deployments to your own servers
#133Re: Piku: Allows git push deployments to your own servers
#134I just added a magic URL in my app that GitHub calls whenever a commit is pushed and the server does `git pull` which in turn causes pm2 to reload the app. So committing anything shows up in production in seconds. Great for smaller projects.
GitHub will call the webhook after a push to main and a successful test suite run. Snare runs a shell script on my server to git pull, build, deploy, and call a cronitor.io hook for monitoring deploy success.
I've been pretty happy with how relatively simple it is and how well it works.
Re: Piku: Allows git push deployments to your own servers
#13515 years ago it was common to deploy web applications as live SVN repositories with a hidden path executing 'svn update' on manual http request. Not quite the 'push deploy', but that was the way apps were developed back in the days, and for some reason I still prefer that approach. Commit, test, and at one point manually nominate and deploy stable version.
Re: Piku: Allows git push deployments to your own servers
#136Maintainer and co-author here. If you like simple, minimalist deployment tools, check out https://github.com/rcarmo/ground-init for a very much down to earth take on cloud-init…
Re: Piku: Allows git push deployments to your own servers
#137I love piku. I wrote a webapp tutorial for piku which got turned into a repo as part of the official GitHub piku org. You can find that here: https://github.com/piku/webapp-tutorial?tab=readme-ov-file#b... It explains how piku works under the hood, as well as showing a minimalistic Python web app example from a user standpoint.
"What is a Heroku-style deploy?" thanks for that. I have no idea what heroku is or does.
Git push deployment where it detects your stack and automatically builds, then deploys with zero downtime.
Re: Piku: Allows git push deployments to your own servers
#138Earlier quoted context omitted.
Oh yes, I definitely use LTS distros, but my longest-running apps are from 2008, so even LTS won't cover that.
At -some- point you actually need to update things. If you're using a 2008 docker container you have all manner of bugs and security issues.
The service was ironically so old that no modern vulnerability scanner or programming language would be able to connect!
This made me seeiously ponder the fleeting nature of modern world - SSL support was everywhere 15 years ago, and now I, as an expert, had great problems using it. What chance do we have in 100 years?