Permalink
Browse files

Figaro for app configuration

  • Loading branch information...
1 parent aaa9da6 commit e20d669f340582ff96d71436fb70cc5bbfebea61 @yangchenyun yangchenyun committed with jordanbyron Feb 18, 2013
Showing with 23 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −0 Gemfile
  3. +3 −0 Gemfile.lock
  4. +2 −1 README.markdown
  5. +16 −0 config/application.yml.example
View
@@ -6,6 +6,7 @@ tmp
*.swp
.sass-cache
config/database.yml
+config/application.yml
config/omniauth.yml
public/attachments
public/assets
View
@@ -47,6 +47,7 @@ gem 'md_emoji'
gem 'capistrano'
gem 'exception_notification'
+gem 'figaro'
group :assets do
gem 'sass-rails', '~> 3.2.0'
View
@@ -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)
@@ -245,6 +247,7 @@ DEPENDENCIES
exception_notification
factory_girl_rails (~> 4.1.0)
faker
+ figaro
fog (~> 1.3.1)
haml
jquery-rails
View
@@ -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
@@ -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.