mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-17 03:37:06 +02:00
14 lines
333 B
Ruby
Executable File
14 lines
333 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require "securerandom"
|
|
require "thor"
|
|
|
|
dir = File.expand_path("../../", __FILE__)
|
|
ENV["BUNDLE_GEMFILE"] ||= File.join(dir, "Gemfile.production")
|
|
ENV["SECRET_KEY_BASE"] ||= SecureRandom.hex(64)
|
|
ENV["RAILS_ENV"] ||= "production"
|
|
|
|
require File.join(dir, "lib/fluentd-ui/command.rb")
|
|
|
|
FluentdUI::Command.start(ARGV)
|