Skip to content

Commit

Permalink
improve display of config vars
Browse files Browse the repository at this point in the history
  • Loading branch information
espen committed Sep 11, 2013
1 parent d3559ca commit e0e119a
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,15 @@ Ruby Gems: See Gemfile

config/balder.rb has the following adjustable settings:

STORAGE_PATH Relative path to where the photos are stored. Default: uploads
Under the specified path two folders are used. "files" for original files and "thumbs" for generated thumbnails.
This can be adjusted in app/uploaders/file_uploader.rb
PRIVATE Require visitors to have a user and authenticate before viewing photos.
TITLE Title of site
HEROKU To be used on heroku.com. This will adjust carrierwave to save to Heroku's tmp area.
S3_KEY For saving files to Amazon S3 (required for Heroku)
S3_SECRET For saving files to Amazon S3 (required for Heroku)
S3_BUCKET For saving files to Amazon S3 (required for Heroku)
FACEBOOK_ID The id for your Facebook application for Facebook Connect authentication
FACEBOOK_SECRET The secret for your Facebook application for Facebook Connect authentication
* *STORAGE_PATH* Relative path to where the photos are stored. Default: uploads. Under the specified path two folders are used. "files" for original files and "thumbs" for generated thumbnails. This can be adjusted in app/uploaders/file_uploader.rb
* *PRIVATE* Require visitors to have a user and authenticate before viewing photos.
* *TITLE* Title of site
* *HEROKU* To be used on heroku.com. This will adjust carrierwave to save to Heroku's tmp area.
* *S3_KEY* For saving files to Amazon S3 (required for Heroku)
* *S3_SECRET* For saving files to Amazon S3 (required for Heroku)
* *S3_BUCKET* For saving files to Amazon S3 (required for Heroku)
* *FACEBOOK_ID* The id for your Facebook application for Facebook Connect authentication
* *FACEBOOK_SECRET* The secret for your Facebook application for Facebook Connect authentication

As these are environment variables you can easily add them to Heroku:
http://devcenter.heroku.com/articles/config-vars#rack_env_rails_env_merb_env
Expand Down

0 comments on commit e0e119a

Please sign in to comment.