/dashboard

Web dashboard for gorse recommender system engine

Primary LanguageVueMIT LicenseMIT

Dashboard for gorse recommender system

build

An admin dashboard for gorse recommender system derived from shards-dashboard-vue.

Quick Start

  • Install dependencies by running yarn.
  • Run yarn serve to start the local development server.

Usage

Install the package.

go get -u github.com/gorse-io/dashboard@statik

Import 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)