@@ -35,6 +35,7 @@ And some additional packages (Debian / Ubuntu)
35
35
$ fluentd-ui start --daemonize
36
36
37
37
Access http://localhost:9292 by web browser.
38
+ The default account is username="admin" and password="changeme".
38
39
39
40
### Run under sub path
40
41
@@ -46,12 +47,35 @@ Access http://localhost:9292/prefix by web browser.
46
47
47
48
## Development
48
49
50
+ ### Get the source
51
+
49
52
$ git clone https://github.com/fluent/fluentd-ui
50
53
$ cd fluentd-ui
51
- $ bundle install
52
- $ bin/rails s
53
54
54
- Also you need a [ chromedriver] ( https://sites.google.com/a/chromium.org/chromedriver/downloads ) or chromiumdriver for test.
55
+ ### Install dependent gems
56
+
57
+ Use bundler:
58
+
59
+ $ gem install bundler
60
+ $ bundle install --path vendor/bundle
61
+
62
+ ### Install dependent JavaScript packages
63
+
64
+ Use [ yarn] ( https://yarnpkg.com/ ) .
65
+ See https://yarnpkg.com/en/docs/install to install it to your environment.
66
+ After install it, run following command:
67
+
68
+ $ yarn install
69
+
70
+ ### Run fluentd-ui
71
+
72
+ $ bin/rails server
73
+
74
+ Access http://localhost:3000 by web browser.
75
+
76
+ ### Run tests
77
+
78
+ You need [ chromedriver] ( https://sites.google.com/a/chromium.org/chromedriver/downloads ) or chromiumdriver to run tests.
55
79
56
80
$ npm install -g chromedriver
57
81
Or,
@@ -61,7 +85,11 @@ Also you need a [chromedriver](https://sites.google.com/a/chromium.org/chromedri
61
85
62
86
NOTE: ` chromedriver ` executable binary should be located under your ` $PATH ` .
63
87
64
- ## Building fluentd-ui.gem
88
+ After that you can run tests by following command:
89
+
90
+ $ bundle exec rake test
91
+
92
+ ### Building fluentd-ui.gem
65
93
66
94
# Generate ChangeLog.md and increment version
67
95
$ bin/rails release:prepare
0 commit comments