New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dotenv for CLI #147

Closed
mcasper opened this Issue Jan 30, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@mcasper
Collaborator

mcasper commented Jan 30, 2016

Right now you have to either have to set the DATABASE_URL environment variable, or pass the --database-url flag to the CLI. I think that most people these days are familiar and comfortable with dotenv, and probably have a .env in their project root. We should support and look for a .env file as well in the CLI, rather than requiring these users to copy and paste their connection url every time.

If we like this, I'll move forward with it this afternoon as well

@sgrif

This comment has been minimized.

Member

sgrif commented Jan 30, 2016

I'm fine with this, as long as we don't require .env to be set.

@sgrif sgrif added this to the 0.6 milestone Jan 30, 2016

@mcasper

This comment has been minimized.

Collaborator

mcasper commented Feb 3, 2016

Resolved by #163

@mcasper mcasper closed this Feb 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment