Skip to content

Latest commit

 

History

History
 
 

web

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Drand Web App

This is the source code of drand's website, used to smartly present the outputs of the beacon and its network configuration. It comes with additional functionalities such as:

  • Possibility to navigate through the randomness history,
  • Verification of the generated randomness against the distributed key, using drandjs,
  • First contacted node is randomly picked from the latest configuration file hosted on Github,
  • User can choose which node of the group is contacted to fetch the randomness from.

You can find a live example at zerobyte.io.

Run it

Requirements

Build

Start the web server on localhost:1313 by running:

make

Deploy

There are two ways to deploy the website.

  • Use deploy.sh script, which will ask for the user and host names compatible with your SSH setup, as well as the path on the server and the URL you want to deploy this website to. You can refer to the help menu to see how to use this script or more informations if you have some trouble identifying the parameters:
sh deploy.sh --help

.

  • (more advanced) Manually overwrite the DEST variable in the makefile with the path on your server and the baseURL in config.toml with your website's URL, then run:
make deploy

Other

Design by HTML5 UP under the Creative Commons Attribution License 3.0