Merge pull request #463 from error9098x/master Fix: Update broken links for td-agent (EOL) and ChromeDriver in README
Merge pull request #463 from error9098x/master
Fix: Update broken links for td-agent (EOL) and ChromeDriver in README
fluentd-ui is a browser-based fluentd and td-agent manager that supports following operations.
Official documentation | Changelog
And some additional packages (Debian / Ubuntu)
$ gem install fluentd-ui $ fluentd-ui setup $ fluentd-ui start --daemonize
Access http://localhost:9292 by web browser. The default account is username=”admin” and password=”changeme”.
Use RAILS_RELATIVE_URL_ROOT environment variable.
RAILS_RELATIVE_URL_ROOT
$ RAILS_RELATIVE_URL_ROOT=/prefix fluentd-ui start –daemonize
Access http://localhost:9292/prefix by web browser.
$ git clone https://github.com/fluent/fluentd-ui $ cd fluentd-ui
Use bundler:
$ gem install bundler --version 1.17.3 $ bundle install --path vendor/bundle
Use yarn. See https://yarnpkg.com/en/docs/install to install it to your environment. After install it, run following command:
$ ./bin/yarn install
$ bin/rails server
Access http://localhost:3000 by web browser.
$ docker build -t fluent/fluentd-ui:1.0.0 . $ docker run --net=host fluent/fluentd-ui:1.0.0
You need chromedriver or chromiumdriver to run tests.
$ npm install -g chromedriver Or, $ brew install chromedriver Or, $ sudo apt install chromium-driver
NOTE: chromedriver executable binary should be located under your $PATH.
chromedriver
$PATH
After that you can run tests by following command:
$ bundle exec rake test
# Generate ChangeLog.md and increment version $ bin/rails release:prepare # Clear tmp/, public/assets and public/packs $ bin/rails tmp:clear assets:clobber && touch tmp/.gitkeep # Generate pre-compiled assets $ RAILS_ENV=production bin/rails assets:precompile # fluentd-ui X.X.X built to pkg/fluentd-ui-X.X.X.gem. $ RAILS_ENV=production bin/rails build # Push to rubygems.org $ bin/rails release
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
fluentd-ui
fluentd-ui is a browser-based fluentd and td-agent manager that supports following operations.
Official documentation | Changelog
Requirements
And some additional packages (Debian / Ubuntu)
How to install and run
Access http://localhost:9292 by web browser. The default account is username=”admin” and password=”changeme”.
Run under sub path
Use
RAILS_RELATIVE_URL_ROOTenvironment variable.$ RAILS_RELATIVE_URL_ROOT=/prefix fluentd-ui start –daemonize
Access http://localhost:9292/prefix by web browser.
Development
Get the source
Install dependent gems
Use bundler:
Install dependent JavaScript packages
Use yarn. See https://yarnpkg.com/en/docs/install to install it to your environment. After install it, run following command:
Run fluentd-ui
Access http://localhost:3000 by web browser.
Run with Docker
Run tests
You need chromedriver or chromiumdriver to run tests.
NOTE:
chromedriverexecutable binary should be located under your$PATH.After that you can run tests by following command:
Building fluentd-ui.gem