OCCSON
Store, manage and deploy Rails configuration securely with Occson.
Installation
Add this line to your application's Gemfile:
gem 'occson-rails'And then execute:
$ bundleUsage
Use occson rails engine in two simple steps:
- Define application version in
config/application.rb
module Dummy
VERSION = "0.1.0"
class Application < Rails::Application
end
end- Create
.envfile with occson related environment variables
OCCSON_ACCESS_TOKEN=[ACCESS_TOKEN]
OCCSON_PASSPHRASE=[PASSPHRASE]
You can create .env file by environment eg.:
.env
.env.development
.env.development.local
License
The gem is available as open source under the terms of the MIT License.