An admin dashboard for gorse recommender system derived from shards-dashboard-vue.
- Install Node 18+ and
pnpm. - Install dependencies by running
pnpm install. - Run
pnpm devto start the local development server. - Run
pnpm buildto create a production bundle.
- For Node 24+, legacy transitive dependency build scripts are skipped automatically via
pnpm.neverBuiltDependencies.- Node Version Manager is recommended for managing multiple Node versions on a single machine.
Install the package.
go get -u github.com/gorse-io/dashboard@statikImport and serve.
import (
"github.com/rakyll/statik/fs"
_ "github.com/gorse-io/dashboard"
)
// ...
statikFS, err := fs.New()
if err != nil {
log.Fatal(err)
}
// Serve the contents over HTTP.
http.Handle("/", http.FileServer(statikFS))
http.ListenAndServe(":8080", nil)