sia-leaderboard

command module
v0.0.0-...-8680b8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 17 Imported by: 0

README

Sia Leaderboard

This repo contains the code that powers the Sia Leaderboard.

Prerequisites

Go, npm

Structure

The backend code that powers the leaderboard is included in the top-level directory. The frontend is written in react and resides in frontend/.

Running

A running siad node is a preqrequisite for running a leaderboard, since the leaderboard must verify contracts. Download the applicable Sia release and run siad.

To run your own leaderboard, clone this repo, then build the frontend by doing the following:

cd frontend
npm run build-production

Once the frontend is built, compile and run the Sia-Leaderboard binary from the root of the repo:

go build .
./Sia-Leaderboard

The leaderboard will be served on :8080 and will persist its data to leaderboard.db.

License

The MIT License (MIT)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL