From 4a79f0c4ecb12b30331a4e1e7e2538039394cffa Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sat, 20 Dec 2014 14:05:31 -0600 Subject: [PATCH] * wip --- web/Gemfile | 1 + web/config/application.rb | 7 +++++++ web/config/environments/development.rb | 1 + 3 files changed, 9 insertions(+) diff --git a/web/Gemfile b/web/Gemfile index 816dbc6c1..50b7005da 100644 --- a/web/Gemfile +++ b/web/Gemfile @@ -85,6 +85,7 @@ gem 'htmlentities' gem 'sanitize' gem 'recurly' gem 'guard', '2.7.3' +gem 'influxdb-rails' group :development, :test do gem 'rspec-rails', '2.14.2' diff --git a/web/config/application.rb b/web/config/application.rb index 418d38545..4170ee070 100644 --- a/web/config/application.rb +++ b/web/config/application.rb @@ -288,5 +288,12 @@ if defined?(Bundler) config.recordings_stale_time = 3 # num days of inactivity before we decide that a recording is no longer going to be claimed config.jam_tracks_available = false + + # these values work out of the box with default settings of an influx install + config.influxdb_database = "development" + config.influxdb_username = "root" + config.influxdb_password = "root" + config.influxdb_hosts = ["localhost"] + config.influxdb_port = 8086 end end diff --git a/web/config/environments/development.rb b/web/config/environments/development.rb index fd950b0b3..56c93fb09 100644 --- a/web/config/environments/development.rb +++ b/web/config/environments/development.rb @@ -49,6 +49,7 @@ SampleApp::Application.configure do # Set the logging destination(s) config.log_to = %w[stdout file] + config.log_level = :debug # Show the logging configuration on STDOUT config.show_log_configuration = true