Commit 0f08dc208520002adc89676147838e95ab15c681
1 parent
019699d2
Exists in
colab
Load Kalibro service addresses from file
This makes explicit that this is configurable and will be more packaging friendly as the configuration file will get linked from /etc. Signed-off-by: Eduardo Araújo <duduktamg@hotmail.com>
Showing
6 changed files
with
14 additions
and
0 deletions
Show diff stats
.travis.yml
... | ... | @@ -26,6 +26,7 @@ before_script: |
26 | 26 | - bash install.sh |
27 | 27 | - popd |
28 | 28 | - cp config/database.yml.sample config/database.yml |
29 | + - cp config/kalibro.yml.sample config/kalibro.yml | |
29 | 30 | # Do not run setup as the Kalibro services are up and this is not even necessary! |
30 | 31 | - bundle exec rake db:create |
31 | 32 | - bundle exec rake db:migrate | ... | ... |
CHANGELOG.md
... | ... | @@ -4,6 +4,10 @@ Prezento is the web interface for Mezuro. |
4 | 4 | |
5 | 5 | The version numbers below try to follow the conventions at http://semver.org/. |
6 | 6 | |
7 | +## Unreleased | |
8 | + | |
9 | +- Always load Kalibro service addresses from file | |
10 | + | |
7 | 11 | ## v1.0.1 - 11/05/2016 |
8 | 12 | |
9 | 13 | - Fix kalibro services address init under production | ... | ... |
bin/setup
... | ... | @@ -25,6 +25,7 @@ Dir.chdir APP_ROOT do |
25 | 25 | unless File.exist?("config/database.yml") |
26 | 26 | run "cp config/database.yml.sample config/database.yml" |
27 | 27 | run "cp features/support/kalibro_cucumber_helpers.yml.sample features/support/kalibro_cucumber_helpers.yml" |
28 | + run "cp config/kalibro.yml.sample config/kalibro.yml" | |
28 | 29 | end |
29 | 30 | |
30 | 31 | puts "\n== Preparing database ==".green | ... | ... |
config/environments/development.rb
config/environments/test.rb