Skip to content

Commit

Permalink
Figaro for app configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchenyun authored and jordanbyron committed Feb 18, 2013
1 parent aaa9da6 commit e20d669
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,6 +6,7 @@ tmp
*.swp
.sass-cache
config/database.yml
config/application.yml
config/omniauth.yml
public/attachments
public/assets
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -47,6 +47,7 @@ gem 'md_emoji'

gem 'capistrano'
gem 'exception_notification'
gem 'figaro'

group :assets do
gem 'sass-rails', '~> 3.2.0'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Expand Up @@ -93,6 +93,8 @@ GEM
faraday (0.8.5)
multipart-post (~> 1.1)
ffi (1.4.0)
figaro (0.5.3)
rails (~> 3.0)
fog (1.3.1)
builder
excon (~> 0.13.0)
Expand Down Expand Up @@ -245,6 +247,7 @@ DEPENDENCIES
exception_notification
factory_girl_rails (~> 4.1.0)
faker
figaro
fog (~> 1.3.1)
haml
jquery-rails
Expand Down
3 changes: 2 additions & 1 deletion README.markdown
Expand Up @@ -28,7 +28,8 @@ To install a development version of Puzzlenode, follow these steps:

1. Fork our GitHub repository: <http://github.com/mendicant-original/puzzlenode>
2. Clone the fork to your computer
3. Finally, run `./bin/setup` to install all of the project's dependencies, create the required config files, create the database, and seed it with data. Be sure to follow the onscreen prompts to complete the setup process.
3. Setup database configuration in `config/database.yml` and environment variables configuration in `config/application.yml`.
4. Finally, run `./bin/setup` to install all of the project's dependencies, create the required config files, create the database, and seed it with data. Be sure to follow the onscreen prompts to complete the setup process.

## Contributing

Expand Down
16 changes: 16 additions & 0 deletions config/application.yml.example
@@ -0,0 +1,16 @@
# s3 config
S3_KEY:
S3_SECRET:

# mail config
SMTP_ADDRESS:
SMTP_DOMAIN:
SMTP_USERNAME:
SMTP_PASSWORD:

# github setup
GITHUB_CONSUMER_KEY:
GITHUB_CONSUMER_SECRET:

# app secret token
PN_SECRET_TOKEN: ROyS0/vblalxo68IAjOwy3ObVnqDVMeMe7AT7vWwxw

0 comments on commit e20d669

Please sign in to comment.