Yii Framework Forum: Heroku; Passing In Configuration - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Heroku; Passing In Configuration Rate Topic: -----

#1 User is offline   rdewilde 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 16-July 13

Posted 16 February 2014 - 06:19 AM

I've been pushing my app to Heroku for deployment. For development VCS I used Git(hub).

According the documentation, configuration files should not be added to VCS (as I can understand, because those would become public). Problem kicks in when I push my files to Heroku, the (generated) .gitgnore prevents pushing the configuration files, so the application won't run.

What's the best way to work around or solve this problem without exposing my configuration (security creditionals)? Or is the only solution getting private (github) repos and pushing my configuration files afterall? Any way of passing in the configuration from some custom git parameters?

Any ideas would be appreciated!



References
- Buildpack ; github.com/RdeWilde/heroku-buildpack-php
- Git params ; devcenter.heroku.com/articles/config-vars
0

#2 User is offline   Matthew Torres 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 43
  • Joined: 12-February 14

Posted 24 February 2014 - 08:35 PM

You can remove the configuration files in your .gitignore.
0

#3 User is offline   Matthew Torres 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 43
  • Joined: 12-February 14

Posted 24 February 2014 - 08:35 PM

You can remove the configuration files in your .gitignore.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users