3 ms·
Same, exactly. I would so much rather be given a docker-compose or k8s yaml along with some other tidbits like how to run migrations and stuff, than get a bash
by freedomben 2y ago
Same, exactly. I would so much rather be given a docker-compose or k8s yaml along with some other tidbits like how to run migrations and stuff, than get a bash script I can just run. I've been doing this long enough to know that it's not initial setup work that really matters, it's the upgrade and backup/restore story that really matters. If your bash script just pulls and runs a docker container or something then cool, but if it's doing much more than that then that's a big red flag to me.
- diggan 2y agoHere: - https://raw.githubusercontent.com/bluesky-social/pds/main/installer.sh https://raw.githubusercontent.com/bluesky-social/pds/main/in... has all the expected outside docker-compose setup, you can read it through in like 5 minutes - Heavy-duty part of the setup is running https://raw.githubusercontent.com/bluesky-social/pds/main/compose.yaml https://raw.githubusercontent.com/bluesky-social/pds/main/co... which you should be familiar with I guess the shellscript is for people who want a one-line install, which I wouldn't do myself either, but I guess some people prefer.
- zzyzxd 2y agoThe script even installs docker with apt by itself (which, I think, is the only reason they require Ubuntu as the OS -- to not to deal with any other package manager variants)... I mean, why? Just let people install docker however they like! If you don't even trust your users to install a container runtime, who's your target audience really? It's also over complicated, like, it even tries to handle race condition of multiple apt processes! What kind of environment do they expect the users have? As the project become more popular, the script will need to handle more edge cases. Let's see if it is still a 5 minutes read one year later. > I guess the shellscript is for people who want a one-line install, which I wouldn't do myself either, but I guess some people prefer. This is the problem in lots open source projects -- providing a one-liner installer and bragging about how easy the initial setup is, without an easy path for long term maintenance. Give it some time, many happy users of the one-liner will be unhappy when they encounter issues.