webui/README.md
ReactJS | Material UI | GraphQL | Apollo GraphQL
Download a git-bug stable binary or compile your own by running make in the
root directory:
Run the git-bug binary inside your git repository. It will manage issues and start the API:
git-bug webui -p 3001If you haven't already, clone the git-bug repository:
Enter the webui directory and install the needed libraries:
make install or npm installGenerate the TS code from the GrapQL files and run the webui in development mode:
make start or npm startmake fix-lint or npm run lint -- --fixmake start or npm startThe 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.
Once the webUI is good enough for a new release:
make build from webui foldermake pack-webui from the root directory to bundle the compiled js
into the go binary.