mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 00:37:06 +02:00
Fix to run on RAILS_ENV=production by ./bin/fluentd-ui
This commit is contained in:
parent
35063da7da
commit
c6470c4099
@ -10,8 +10,8 @@
|
|||||||
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
||||||
* file per style scope.
|
* file per style scope.
|
||||||
*
|
*
|
||||||
*= require sb-admin-v2/bootstrap
|
*= require sb-admin-v2/bootstrap.css
|
||||||
*= require "sb-admin-v2/sb-admin"
|
*= require sb-admin-v2/sb-admin
|
||||||
*= require "sb-admin-v2/font-awesome/scss/font-awesome.scss"
|
*= require "sb-admin-v2/font-awesome/scss/font-awesome.scss"
|
||||||
*= require_tree .
|
*= require_tree .
|
||||||
*= require_self
|
*= require_self
|
||||||
|
@ -5,4 +5,6 @@ require "securerandom"
|
|||||||
dir = File.expand_path("../../", __FILE__)
|
dir = File.expand_path("../../", __FILE__)
|
||||||
ENV["BUNDLE_GEMFILE"] ||= File.join(dir, "Gemfile.production")
|
ENV["BUNDLE_GEMFILE"] ||= File.join(dir, "Gemfile.production")
|
||||||
ENV["SECRET_KEY_BASE"] ||= SecureRandom.hex(64)
|
ENV["SECRET_KEY_BASE"] ||= SecureRandom.hex(64)
|
||||||
|
ENV["RAILS_ENV"] ||= "production"
|
||||||
|
system(*%W(bundle exec rake db:create db:migrate db:seed))
|
||||||
system(*%W(bundle exec rackup -E production #{dir}/config.ru))
|
system(*%W(bundle exec rackup -E production #{dir}/config.ru))
|
||||||
|
@ -2,7 +2,7 @@ Rails.application.configure do
|
|||||||
# Settings specified here will take precedence over those in config/application.rb.
|
# Settings specified here will take precedence over those in config/application.rb.
|
||||||
|
|
||||||
# Code is not reloaded between requests.
|
# Code is not reloaded between requests.
|
||||||
config.cache_classes = true
|
config.cache_classes = false
|
||||||
|
|
||||||
# Eager load code on boot. This eager loads most of Rails and
|
# Eager load code on boot. This eager loads most of Rails and
|
||||||
# your application in memory, allowing both threaded web servers
|
# your application in memory, allowing both threaded web servers
|
||||||
@ -65,4 +65,8 @@ Rails.application.configure do
|
|||||||
|
|
||||||
# Do not dump schema after migrations.
|
# Do not dump schema after migrations.
|
||||||
config.active_record.dump_schema_after_migration = false
|
config.active_record.dump_schema_after_migration = false
|
||||||
|
|
||||||
|
|
||||||
|
# Don't concat assets for font-awesome path resolving, instead of changing url in css files
|
||||||
|
config.assets.debug = true
|
||||||
end
|
end
|
||||||
|
@ -5828,4 +5828,3 @@ td.visible-print {
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*# sourceMappingURL=bootstrap.css.map */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user