git-bug/webui
2019-08-26 23:55:18 +02:00
..
public github: also pull users email 2018-10-07 18:27:23 +02:00
src Merge pull request #150 from MichaelMure/sandhose/webui/markdown 2019-05-23 02:26:03 +02:00
.eslintrc webui: Format everything with prettier 2018-08-19 23:14:45 +02:00
.gitignore make git-bug go gettable without having to commit the builded webUI 2018-08-06 14:18:55 +02:00
.prettierrc webui: Format everything with prettier 2018-08-19 23:14:45 +02:00
debug_assets.go invert the behavior of the build flag for the webui 2018-09-02 00:06:50 +02:00
Makefile webui: Format everything with prettier 2018-08-19 23:14:45 +02:00
pack_webui.go invert the behavior of the build flag for the webui 2018-09-02 00:06:50 +02:00
package-lock.json Merge pull request #160 from MichaelMure/dependabot/npm_and_yarn/webui/js-yaml-3.13.1 2019-06-06 12:53:51 +02:00
package.json webui: Render markdown 2019-05-22 22:06:31 +02:00
packed_assets.go webui: recompile the web interface 2019-08-26 23:55:18 +02:00
Readme.md docs & cleaning 2018-09-16 13:50:53 +02:00

git-bug rich web UI

How to develop

  1. Compile the go binary
    • run make in the root directory
  2. Run the GraphQL backend on the port 3001
    • ./git-bug webui -p 3001
  3. Run the hot-reloadable development WebUI
    • run npm start in the webui directory

The development version of the WebUI is configured to query the backend on the port 3001. You can now live edit the js code and use the normal backend.

Bundle the web UI

Once the webUI is good enough for a new release, run make pack-webui from the root directory to bundle the compiled js into the go binary.