Skip to content
Snippets Groups Projects
.envrc 393 B
Newer Older
#!/bin/sh

if [ ! -f ".envrc.local" ]; then
  cp .envrc.local.template .envrc.local
  echo ".envrc.local was created from template, please add your configuration if necessary"
fi

# loads personal (secret) data from separate env file (not checked in)
# NOT using source_if_exists because it's not available in the context of mprocs (sh)
if [ -f ".envrc.local" ]; then
  source .envrc.local
fi