Skip to content
OfirTheOne edited this page May 10, 2018 · 26 revisions

The problam we targeting :

Having a web app developed in Ionic framework and Deploying to heroku with Git.
I must manage at least two environments, prod(uction) and dev(elopment), and another important requirement is that no sensitive data (e.g API_URL, CLIENT_KEY) will publicly sit in the app's git repo.

so ..

  • first, manage two envaierments, prod and dev, with different behaviors - in this case inject different envaierment variables values in dev mode and prod mode.
  • seconde, inject envaierment variable - conataininig sensitive values - on the heroku server without it sitting in the repo.

we dealing with multiples framework in this process Angular, Ionic, Webpack and Heroku

The solution :

What you need to do

res:

Clone this wiki locally