Skip to content
Snippets Groups Projects
user avatar
jkrvivian authored
* Feat: Add tips chart to dashboard

* Feat: Pack tips chart

* Fix: Fix wrong type in function parameter

* Fix: Use GetTipCount() in TipSelector
7eaae004
History

GoShimmer SPA

Programmed using modern web technologies.

SPA in dev mode

  1. Make sure to set dashboard.dev to true, to enable GoShimmer to serve assets from the webpack-dev-server.
  2. Install all needed npm modules via yarn install.
  3. Run a webpack-dev-server instance by running yarn start within the frontend directory.
  4. Using default port config, you should now be able to access the dashboard under http://127.0.0.1:8081

The SPA is hot-reload enabled.

Pack your changes

We are using packr2 to wrap all built frontend files into Go files.

  1. Install packr2 if not already done.
  2. Build SPA by running yarn build within the frontend directory.
  3. Change to the plugins/spa directory.
  4. Run packr2.
  5. plugins/spa/packrd should have been modified.
  6. Done. Now you can build goShimmer and your SPA changes will be included within the binary.