Skip to content
Snippets Groups Projects
Select Git revision
  • 1ed1bbacb1f925e71c031fd22f9ce9543e9d7e81
  • without_tipselection default
  • develop protected
  • fix/grafana-local-dashboard
  • wasp
  • fix/dashboard-explorer-freeze
  • master
  • feat/timerqueue
  • test/sync_debug_and_650
  • feat/sync_revamp_inv
  • wip/sync
  • tool/db-recovery
  • portcheck/fix
  • fix/synchronization
  • feat/new-dashboard-analysis
  • feat/refactored-analysis-dashboard
  • feat/new-analysis-dashboard
  • test/demo-prometheus-fpc
  • prometheus_metrics
  • wip/analysis-server
  • merge/fpc-test-value-transfer
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
28 results

frontend

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    capossele authored
    1ed1bbac
    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.