Giter Club home page Giter Club logo

template.achievement.network's Introduction

Template

Requirements

  • NodeJS
  • Windows, Linux or MacOS

Installation

To run this website, you first need to install gitbook

npm install gitbook-cli -g
git clone https://github.com/liquidity-network/plugin-exercises ../plugin-exercises
cd ../plugin-exercises
npm install
npm link
cd -
npm link gitbook-plugin-exercises
gitbook install

Docker

Local blockchain

  1. Follow the instruction of Ganache to run a local blockchain

  2. Run Ganache, select and account and copy paste its private key into a file (e.g. private.key) as follow:

PRIVATE_KEY=...
  1. Run
source private.key
PRIVATE_KEY=${PRIVATE_KEY} make install
PRIVATE_KEY=${PRIVATE_KEY} make debug
  1. Website is located under http://localhost:4000

On Ropsten

  1. Save the private key associated to your ropsten account in a file named private.key as follow:
PRIVATE_KEY=...
  1. Run
source private.key
PRIVATE_KEY=${PRIVATE_KEY} make install
PRIVATE_KEY=${PRIVATE_KEY} make build
  1. Website has been saved in _book. You can host it anywhere you want (Github pages for instance).

Write Mode

If you only need to verify your syntax and not test it on a real blockchain

  1. Set your private key to 0x0 (optional)
PRIVATE_KEY=0x0000000000000000000000000000000000000000
  1. Run
source private.key
PRIVATE_KEY=${PRIVATE_KEY} make install
PRIVATE_KEY=${PRIVATE_KEY} make write
  1. Website is located under http://localhost:4000

template.achievement.network's People

Contributors

armandkd avatar thibmeu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.