| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Support for config push and pull via Rake tasks for dotenv. The rake tasks rely on the heroku excutable to be present in the PATH.
Add this line to your application's Gemfile:
gem 'dotenv-heroku'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dotenv-heroku
Add
require "dotenv-heroku/tasks"
to your Rakefile.
You can now run
$ rake config:pull
to pull the current heroku config to the local .env file, you can also pass the desired file as an argument
$ rake config:pull\[my_current_config\]
You can also push the config to heroku via
$ rake config:push
to push the config from the .env file, or
$ rake config:push\[my_current_config\]
to push the config from the my_current_config file
| Back | FazBrowse Home | New Git URL |