-
Notifications
You must be signed in to change notification settings - Fork 340
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 configuration #40
Comments
+1 |
Can you go into some detail on what kind of things in the project you'd like to see happening in prod vs development environments? I like this but the environments are very specific to the environments of the generating user. At best we could have, say, prod and dev to start, then have instructions for adding/modifying environments if someone wants to add another environment (staging). I'm just trying to judge exactly what use case these environment variables should serve vs the environment hook mentioned in Issue #72. I feel like if this is implemented then there'd need to be some cohesion between cordova hooks and the build tool config. |
I've given this some thought, and since Ionic uses angular, it might make sense to have an I am experimenting with grunt-ng-constant for this feature. |
@morenoh149 @jimthedev I finally ran into the need for this on my latest Ionic project, so I've gone ahead and added this feature to the generator. See the docs here - https://github.com/diegonetto/generator-ionic#environment-specific-configuration Thanks, and happy coding :) |
Hi @diegonetto, |
I think it has been moved here: |
@jimthedev thanks. If possible please update this URL in the gruntfile. |
@chandramuralis Would you be willing to make this change via a pull request? It is pretty easy, you can just follow these steps.
This will fork the repo and put in a pull request so that Diego can accept it. Thanks! |
@jimthedev Done and submitted pull request #155 |
@chandramuralis My pleasure. Thanks for being an open source contributor! |
vote for adding support for environment configurations. Serious applications usually have development, staging and production environments to roll out new features.
http://newtriks.com/2013/11/29/environment-specific-configuration-in-angularjs-using-grunt/
The text was updated successfully, but these errors were encountered: