iuux / adrx-quicknotes

Quick Notes functionality for Indiana University AdRx (Advising Records) system.
MIT License
0 stars 0 forks source link

Use environment variables #32

Open basham opened 9 years ago

basham commented 9 years ago

Will need to use different URLs for APIs, for different environments. Dev, UNT, Stage, Prod. Figure out the best way to use different variable values for different contexts.

basham commented 9 years ago

http://stackoverflow.com/questions/28099041/gulp-build-with-browserify-environment-variable

basham commented 9 years ago

https://github.com/jas/gulp-preprocess http://jbavari.github.io/blog/2014/08/23/managing-environment-variables-for-your-ionic-application/

basham commented 9 years ago

http://geekindulgence.com/environment-variables-in-angularjs-and-ionic/

basham commented 9 years ago

Maybe this is largely solved by #50. Would still be nice to investigate if variables could be set during the build process, instead of in HTML, though.