Skip to content
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

Environment specific config #2

Open
dbrain opened this issue Jun 3, 2012 · 2 comments
Open

Environment specific config #2

dbrain opened this issue Jun 3, 2012 · 2 comments
Assignees

Comments

@dbrain
Copy link
Owner

dbrain commented Jun 3, 2012

As some cool kid using soggy, I'd like to be able to deploy an application across multiple environments using the same code base, switching configuration used on an environment variable (GO_ENV maybe).
Maybe a JSON file per environment and a way to initialise the server dependant on it's GO_ENV?

@ghost ghost assigned dbrain Jun 3, 2012
@asenchi
Copy link

asenchi commented Jun 6, 2012

@dbrain I just discovered your project recently. Looks great.

I'd recommend GOLANG_ENV, or even the more specific SOGGY_ENV to avoid name collisions. But I recommend keeping it simple at first, so as to avoid complexity that never gets used. :)

@dbrain
Copy link
Owner Author

dbrain commented Jun 6, 2012

@asenchi Thanks!
Good call. If I go ahead with this issue I'll probably go with SOGGY_ENV. This is fairly low on the priority list at the moment, so I'll reassess the need for it when I get to it. Mostly just a brain dump because I have a horrible memory ;)

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

No branches or pull requests

2 participants