this post was submitted on 05 Sep 2023
0 points (NaN% liked)

Programming

17685 readers
128 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 2 years ago
MODERATORS
 

In a lot of projects, this is usually done via README. It tells you what running dependencies to install and how to run certain commands.

This can get harder to maintain as things change, the project grows, and complexity increases.

I see two parts to automate here: actually setting up the environment, and running the application or orchestrating multiple apps.

How do you address this?

top 4 comments
sorted by: hot top controversial new old
[–] dzamlo@programming.dev 1 points 1 year ago

There is also https://devenv.sh/ which is based on nix.

[–] thelonelyghost@infosec.pub 1 points 1 year ago
  • direnv
  • nixpkgs (with flakes enabled)
  • committed flake.nix and flake.lock
  • Makefile or several shell scripts in bin/ for common tasks

(explainer)

Nix/NixOS with flakes, direnv, and lorri.

[–] 0x0@programming.dev -1 points 1 year ago

Well-documented bash scripts.