Live data from Hacker News

Piku: Allows git push deployments to your own servers

github.com

111–120 of 169 posts

Re: Piku: Allows git push deployments to your own servers

#112
post #13

Earlier quoted context omitted.

Better in what way?

1. Less dependencies (only Podman and registry is needed) 2. Rock solid rootless systemd service management 3. Easy integration with systemd-proxyd 4. Easy manage dependencies between containers (with healthchecks) 5. Rollbacks

Does this all fit in 256MB of server RAM?

Re: Piku: Allows git push deployments to your own servers

#113
post #109

Can it be a good replacement for Capistrano (for deploying rails applications)? Love the focus on being lightweight Recently I wanted to create a super basic website, and discovered it’s actually pretty hard to create something simple And then, even if you manage to create something actually simple, you usually end up having to manage some not so simple deployment process together with hopefully some sort of version…

Also an option, if it's just for you and with not too many updates, you can upload the new files to ftp as a manual step.

Re: Piku: Allows git push deployments to your own servers

#115
post #98

I 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.

The new piku docs are pretty but, as a potential new user very interested in trying piku, the new docs are completely useless to me. I gave up on piku because the docs essentially assume I already know everything I need to know to run and use piku. Your doc fixes that, but I never found your doc even after spending quite a bit of time trying to figure out how and whether I could use piku. I never would have known it…

Acknowledged. The tutorial is linked someplace deeper in the docs, but I am adding a direct link to it in the docs home page. Should be up in a little while.

Re: Piku: Allows git push deployments to your own servers

#116
post #29

Does someone know how it handles (if any) zero downtime deployments? Like, if your Python service is running in one machine on port 8080 behind nginx, how does piku switch to a fresh instance running in the same port?

Slightly off-topic, but you can do zero downtime deployments using systemd and socket activation.

That gives me a couple of ideas...But picking a shorter name than "piku" is going to be hard... Maybe I can whip up a proof of concept and call it "syd".

Re: Piku: Allows git push deployments to your own servers

#117

Eventually, we'll need something more secure than effectively `sudo curl INSTALLER | sh` as a way to install stuff. I can see why package managers aren't always the answer, but still. piku itself is neat and I like it.

Actually, we had manual install steps as the only way to go for a while. You'd be surprised at how many people asked for a one-liner... I'm going to add a note to the docs about that, since I've seen a couple of comments here of people who were put off by it and didn't even read the rest.

I actually only install piku via cloud-init, but there are plenty more options: https://piku.github.io/install/index.html

Re: Piku: Allows git push deployments to your own servers

#118
post #39

I 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.

Basically it was the first PaaS to improve the developer experience when working with server infrastructure. It had git integration and allowed to scale easily your apps from a CLI

Re: Piku: Allows git push deployments to your own servers

#119

I 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.

This is now linked from the docs home page.

Re: Piku: Allows git push deployments to your own servers

#120

Earlier quoted context omitted.

I developed security software in Python that ran on 100k+ production nodes covering dozens of operating systems. They all had Python.

Counter-anecdote: none of my Linux PCs have python.

Counter-counter-anecdote: my toaster has python.
Post reply on HN