ruby_lambda icon indicating copy to clipboard operation
ruby_lambda copied to clipboard

Create ENV file as hidden

Open igbanam opened this issue 6 years ago • 1 comments

Amazing work 🥳 I am yet to deploy something, but I am working towards that

As I initiated a new project, I saw…

    Created env

…but I looked for env and could not find it. So I looked through the code and saw that this file is getting renamed. This was slightly confusing to me. I looked further and saw .env in the templates/.gitignore so I thought leaving env as a filr tracked by git was useful to learn how this file evolves over time.

In other repos, I have seen an env.sample which is a mirror of the .env file necessary. This file is copied at build time into .env. Then the status can say something like…

    Created .env

…when this process is done.

What do you think?

p.s: This is not a breaking issue. It's just …UX, somewhat.

igbanam avatar Aug 04 '19 10:08 igbanam

@igbanam thanks for this, I think you are right, I always use .env locally, but allowing it to be in git and users to renaming how that would like is the better approach! 👍

denissellu avatar Aug 05 '19 08:08 denissellu