- Notifications
You must be signed in to change notification settings - Fork2
sideshowcoder/dotenv-heroku
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Support for config push and pull via Rake tasks fordotenv. The rake tasks rely on theheroku excutable to be present in the PATH.
Add this line to your application's Gemfile:
gem 'dotenv-heroku'And then execute:
$ bundleOr install it yourself as:
$ gem install dotenv-herokuAdd
require "dotenv-heroku/tasks"to your Rakefile.
You can now run
$ rake config:pullto pull the current heroku config to the local .env file, you can also pass thedesired file as an argument
$ rake config:pull\[my_current_config\]You can also push the config to heroku via
$ rake config:pushto push the config from the .env file, or
$ rake config:push\[my_current_config\]to push the config from the my_current_config file
- Fork it (https://github.com/[my-github-username]/dotenv-heroku/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
About
Heroku support for dotenv
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.