Figaro

Public
Add simple, Heroku-friendly Rails app configuration using ENV and a single YAML file.
Icons/chart bar
Used 45 times
Created by
I Ivan Raszl

Usage
This script creates a commented config/application.yml file and adds it to your .gitignore. Once the script has run, add your own configuration to this file and restart your rails server. Read more about figaro on github.

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/VRZs9V"
Template Source

Review the code before running this template on your machine.

run "bundle add figaro"
run "bundle install"
run "bundle exec figaro install"
Comments

Sign up or Login to leave a comment.