jfilby / nexus

A Nim web framework with batteries included
Apache License 2.0
101 stars 3 forks source link

Nexus apps should env files instead of OS vars set by shell scripts #29

Open jfilby opened 2 years ago

jfilby commented 2 years ago

Using shell scripts means writing multiple files per OS, and you also have to run the shell script before running your program. Running the wrong shell script could lead to incorrect execution.

These env files will be written in YAML.

The env files can reference environment variables using the $ENV_VAR or ${ENV_VAR} syntax.