7

Some folks on the internet were interested in how I had managed to ditch Docker for local development. This is a slightly overdue write up on how I typically do things now with Nix, Overmind and Just.

you are viewing a single comment's thread
view the rest of the comments
[-] mdhughes@lemmy.ml -1 points 1 year ago

I know you won't believe this, but you don't need any of these GTOS (giant towers of shit) to write & ship code. "Replace one GTOS with another" is a horizontal move to still using a GTOS.

You can just install the dev tools you need, write code & libraries yourself, or maybe download one. If you don't go crazy with the libraries, you can even tell a team "here's the 2 or 3 things you need" and everyone does it themselves. I know Make is scary, with the mandatory tabs, but you can also just compile with a shell script.

Deployment is packing it up in a zip and unzipping it on your server.

[-] gdrhnvfhj@lemmynsfw.com 0 points 1 year ago

Try to develop on a system that just has node16 3 different projects at the same time that each require different node versions. Nix rocks.

[-] sip@programming.dev 0 points 1 year ago
[-] gdrhnvfhj@lemmynsfw.com 0 points 1 year ago

And now these need different GCC compilers. And building should be easy and reproducible.

[-] sip@programming.dev -1 points 1 year ago

If your app behaves differently based on the GCC version the same node version has been compiled, there's a fuck-up in there.

[-] gdrhnvfhj@lemmynsfw.com 1 points 1 year ago

No, I mean my app has a node and an C part, just AS an example. Could also be Java vor PHP.

[-] sip@programming.dev 1 points 1 year ago

ahh, I see. I guess you had to do a bit more work to ensure everything builds with the same versions.

load more comments (2 replies)
load more comments (2 replies)
load more comments (7 replies)
this post was submitted on 21 Jul 2023
7 points (100.0% liked)

Programming

17241 readers
620 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS