Using bash, during local migrate, I got this error
ERROR! Config provider Config.Reader failed with: ** (ArgumentError) could not fetch environment variable "SECRET_KEY_BASE" because it is not set ...
In bash the line
source .env _build/prod/rel/demo/bin/demo eval Demo.Release.migrate
must be translated to
set -o allexport; source .env; set +o allexport _build/prod/rel/demo/bin/demo eval Demo.Release.migrate
I am posting this to save time to someone who might stumble upon this problem.
Thanks for this!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Using bash, during local migrate, I got this error
In bash the line
must be translated to
I am posting this to save time to someone who might stumble upon this problem.
Thanks for this!