Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.41 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.41 KB

CircleCI

Introduction to Blockchains

This repository contains the material for our Introduction to Blockchains course.

You can take the course online at blockchain-course.org.

Installation

  • cd db && yarn install && yarn link
  • Copy .env-template to .env and modify the variables
  • cd cli && yarn install && yarn link blockchain-course-db
  • cd api && yarn install && yarn link blockchain-course-db
  • Copy .env-template to .env and modify the variables
  • cd app && yarn install
  • Copy .env-template to .env.local and modify the variables

Development

  • cd api && yarn start
  • cd app && yarn start

Build APP

  • cd app && yarn build

Serve API

  • cd api && yarn serve

CLI Usage

node cli.js <command>

Commands:
  cli.js add <command>     Add an entity <group|lecture|file>
  cli.js delete <command>  Delete an entity <group|lecture|file>
  cli.js get <command>     Get an entity <group|lecture|file>
  cli.js update <command>  Update an entity <group|lecture|file>

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]