carp icon indicating copy to clipboard operation
carp copied to clipboard

Improve .env setup

Open SebastienGllmt opened this issue 2 years ago • 0 comments

Currently, the .env file contains two lines that aren't proper .env syntax:

SOCKET="$(realpath ../cardano-node/bin/\\.pipe\\cardano-node)"
PGPASSFILE="$(realpath secrets/.pgpass)"

The fact we have these is unfortunate because it means you can't just load the dotenv from inside Rust (or Typescript) and instead have to set the env variables by calling the .env through bash.

SebastienGllmt avatar May 06 '22 07:05 SebastienGllmt