Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 959 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 959 Bytes

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)