Skip to content

Commit

Permalink
Organize all sample configs in the own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
awead committed Aug 26, 2016
1 parent 4fa5a2c commit be73cb9
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# These files should be copied from the $file.yml.sample and tweaked
# These files should be copied from the config/sample directory and tweaked
# per environment.
config/database.yml
config/fedora3.yml
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ before_install:
services:
- redis-server
before_script:
- "cp config/database.yml.travis config/database.yml"
- "cp config/hydra-ldap.yml.sample config/hydra-ldap.yml"
- "cp config/share_notify.yml.sample config/share_notify.yml"
- "cp config/sample/database.yml config/database.yml"
- "cp config/sample/hydra-ldap.yml config/hydra-ldap.yml"
- "cp config/sample/share_notify.yml config/share_notify.yml"
- redis-cli info
matrix:
fast_finish: true
Expand Down
4 changes: 0 additions & 4 deletions config/database.yml.travis

This file was deleted.

12 changes: 0 additions & 12 deletions config/fedora3.yml.sample

This file was deleted.

4 changes: 0 additions & 4 deletions config/initializers/sufia-secret.rb.sample

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions config/sample/sufia_secret.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true
Sufia.config do |config|
config.geonames_username = 'username'
end

0 comments on commit be73cb9

Please sign in to comment.