diff --git a/config/database.yml b/config/database.yml index c85bd421..eb9f4fb5 100644 --- a/config/database.yml +++ b/config/database.yml @@ -1,4 +1,4 @@ -developmen: +development: adapter: sqlite3 pool: 5 timeout: 5000 @@ -13,8 +13,7 @@ test: timeout: 5000 database: db/test.sqlite3 -#production: -development: +production: adapter: mysql2 encoding: utf8 database: adl_fr diff --git a/config/environments/production.rb b/config/environments/production.rb index 98cf2785..b269b326 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -56,6 +56,7 @@ Rails.application.configure do # Enable serving of images, stylesheets, and JavaScripts from an asset server. # config.action_controller.asset_host = "http://assets.example.com" + config.action_controller.asset_host = "http://assets%d.agendadulibre.org" # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.