Skip to content

Commit 291649f

Browse files
authored
Merge pull request #86 from gtt-project/feature/update-webpack-readme
Update README.md
2 parents 9c5db26 + a8641fe commit 291649f

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ After restarting Redmine, you should be able to see the Redmine GTT plugin in th
5757

5858
More information on installing (and uninstalling) Redmine plugins can be found here: http://www.redmine.org/wiki/redmine/Plugins
5959

60-
## How to run test
61-
62-
After the installation, you can run the plugin test by the following command:
63-
64-
```
65-
RAILS_ENV=test NAME=redmine_gtt bundle exec rake redmine:plugins:test
66-
```
67-
6860
## How to use
6961

7062
1. Go to plugin configuration for global settings
@@ -79,6 +71,25 @@ For more information with screenshots see the [Getting Started](doc/getting-star
7971

8072
The GTT Project appreciates any [contributions](https://github.com/gtt-project/.github/blob/main/CONTRIBUTING.md)! Feel free to contact us for [reporting problems and support](https://github.com/gtt-project/.github/blob/main/CONTRIBUTING.md).
8173

74+
### How to debug frontend
75+
76+
You can debug frontend by running the following command on another console:
77+
78+
```
79+
npx webpack --watch --mode=development
80+
```
81+
82+
### How to run test
83+
84+
You can run the plugin test on rails test environment by the following command:
85+
86+
```
87+
bundle exec rake db:create
88+
RAILS_ENV=test bundle exec rake db:migrate
89+
RAILS_ENV=test bundle exec rake redmine:plugins:migrate
90+
RAILS_ENV=test NAME=redmine_gtt bundle exec rake redmine:plugins:test
91+
```
92+
8293
## Version History
8394

8495
See [all releases](https://github.com/gtt-project/redmine_gtt/releases) with release notes.
@@ -89,6 +100,7 @@ See [all releases](https://github.com/gtt-project/redmine_gtt/releases) with rel
89100
- [Daniel Kastl](https://github.com/dkastl)
90101
- [Thibault Mutabazi](https://github.com/eyewritecode)
91102
- [Ko Nagase](https://github.com/sanak)
103+
- [Taro Matsuzawa](https://github.com/smellman)
92104
- ... [and others](https://github.com/gtt-project/redmine_gtt/graphs/contributors)
93105

94106
## LICENSE

0 commit comments

Comments
 (0)