I 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.
Piku: Allows git push deployments to your own servers
141–150 of 169 posts
Re: Piku: Allows git push deployments to your own servers
#142What this means is that you can now generate a docker image locally using similar build tooling to Heroku’s “git push” logic that detects language support and does the right thing TM. Here’s a tutorial for building a Rails app with the buildpack I maintain https://www.schneems.com/2024/05/01/build-a-ruby-on-rails-ap...
Would love some feedback, if you try it. Please consider posting about the experience in the linked discussion (good, bad, indifferent, or whatever I just want more feedback to improve the experience).
Re: Piku: Allows git push deployments to your own servers
#143This looks good, and Dokku has been very solid for me, but removing the Docker dependency means that now I'm beholden to my OS's choices. For apps that might run for years without maintenance, that's not ideal, as you'll quickly find you need a specific version of the OS for them.
A different niche than Piku but I will give Dokku another vote. I've upgraded my dokku install over 3-4 Ubuntu LTS so far and it's been problem free for my use case of hosting little side projects on a VPS.
Re: Piku: Allows git push deployments to your own servers
#144With PHP, 1-line (no new tools): sftp user@host remoteFile localFile Joking aside, I’m a bit surprised such a tool would be developed in Python given its dependency’s and runtime (which is not easy on the user).
Re: Piku: Allows git push deployments to your own servers
#145Maintainer 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…
Your readme doesn't really answer the question of why not cloud-init?
Re: Piku: Allows git push deployments to your own servers
#146Earlier quoted context omitted.
> set -e > echo "Downloading piku-bootstrap here." > curl -s bootstrap" rel="nofollow">https://raw.githubusercontent.com/piku/piku-bootstrap/master... > piku-bootstrap > chmod 755 piku-bootstrap > echo "Now you can install Piku on `hostname` like this:" > echo "./piku-bootstrap install" Did you look at the script?
the script is irrelevant. it's the culture it attracts/creates when you start with this. and while i didn't look at the script for the reason above, i did look at the site and found no high level or architecture designs links. good luck basing, even your dev, infrastructure on things like this.
Re: Piku: Allows git push deployments to your own servers
#147interesting project! what are the advantages of this over pushing to a normal ssh server with a server side git hook?
Re: Piku: Allows git push deployments to your own servers
#148Re: Piku: Allows git push deployments to your own servers
#149Repeat after me: git, is, not, a, deployment, tool
Re: Piku: Allows git push deployments to your own servers
#150What is a PaaS?
Platform as a Service. Which leaves me the same number of questions. So, what is Platform as a Service?
A "Platform," in the context of IT and software (and especially the internet), is some IT infrastructure, generally a server and the software installed on it, that you can host something on, such as an app or a website.
A "Platform as a Service" is when someone else sets up your platform for you so that you don't have to do it yourself—you get access to the platform and can use it for your own stuff, but don't have to configure or maintain most of it.