Created
February 27, 2015 20:21
-
-
Save sskylar/406c224ffed82da7bf77 to your computer and use it in GitHub Desktop.
Siteleaf config using ENV variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Intended for development purposes only, do not upload or use in production. | |
# See https://github.com/siteleaf/siteleaf-gem for documentation. | |
require 'rubygems' | |
require 'siteleaf' | |
Siteleaf.api_key = ENV['API_KEY'] | |
Siteleaf.api_secret = ENV['API_SECRET'] | |
run Siteleaf::Server.new(:site_id => ENV['SITE_ID']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment