joelanman,
@joelanman@hachyderm.io avatar

is a .env.template the normal way to document what's needed in a .env file in a project? Or do you do that in the readme/dev docs, or both?

Korny,
@Korny@hachyderm.io avatar

@joelanman
We have an env.example, a bit in the README - but also we parse the environment with Zod so you get error messages if something doesn't fit the schema.

benjamineskola,
@benjamineskola@hachyderm.io avatar

@joelanman Yeah, I’d first look for something like .env.example that could be copied into place, perhaps with an explanation in the readme, but also just a list of required/optional variables in the readme would be fine too.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • thenastyranch
  • GTA5RPClips
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • cisconetworking
  • kavyap
  • JUstTest
  • normalnudes
  • modclub
  • cubers
  • ngwrru68w68
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • Leos
  • osvaldo12
  • anitta
  • megavids
  • lostlight
  • All magazines