Programmed using modern web technologies.
- Make sure to set
analysis.dashboard.devto true, to enable GoShimmer to serve assets from the webpack-dev-server.
- Install all needed npm modules via
- Run a webpack-dev-server instance by running
yarn startwithin the
- Using default port config, you should now be able to access the analysis dashboard under http://127.0.0.1:8000
The Analysis Dashboard is hot-reload enabled.
We are using pkger to wrap all built frontend files into Go files.
pkgerif not already done.
Check that the correct webpack-cli (version v3.3.11) is installed:
yarn webpack-cli --version
2.2 If a newer version is installed use
yarn remove webpack-cliand
yarn add email@example.com
Build Analysis Dashboard by running
yarn buildwithin the
Navigate to the root of the repo.
pkgerin the root of the repo.
pkged.goshould have been modified.
Done. Now you can build GoShimmer and your Analysis Dashboard changes will be included within the binary.
The above steps can also be done by running the
scripts/pkger.sh script from the root folder.