commit | 623b6c46f8339ea4900e17605ebb8ef2fca669d4 | [log] [tgz] |
---|---|---|
author | Edward Lesmes <ehmaldonado@google.com> | Thu Apr 16 14:49:17 2020 -0700 |
committer | Edward Lesmes <ehmaldonado@google.com> | Thu Apr 16 21:51:14 2020 +0000 |
tree | d1bee384e89f0f5575d66c18c650462eee9c779d | |
parent | fedd61555c3f40b0968f3c02953fe8fcc4373169 [diff] |
Update docs to remind to npm install before npm run build. Change-Id: I13a7f456ee99ea7e84e7caaa1ce6efc6da6ce799
Gerrit FE Dev helper is a chrome extension that will focus on helping frontend developers on Gerrit development.
As mentioned in readme from polygerrit-ui, we already support to start your local host for developing / debugging / testing, but it has quite a few restrictions:
To solve these pain points, I created this chrome extension that basically just proxy all assets requests or any requests to local server, and you will have the ability to inject any plugins from local as well.
See in release notes.
npm install npm run build
Then you should have gerrit_fe_dev_helper.zip
that you can test with, or download from chrome web store here: https://chrome.google.com/webstore/detail/gerrit-fe-dev-helper/jimgomcnodkialnpmienbomamgomglkd.
After you installed and enabled the extension, you should see something similar to demo.png.
./polygerrit-ui/run-server.sh
Gerrit dev helper is enabled
), and now your gerrit assets should be loaded from local serverThe extension comes with a set of default rules, but you can change the rules by just clicking the extension icon again.
The extension supports six different type of rules:
The two options of injecting any plugins meant to help you develop your plugins for your gerrit sites.
Please don't hesitate to contact taoalpha@google.com for support on this extension.