ProphetDaniel / meteor-drizzle

Drizzle DAPP with Meteor backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meteor-Drizzle

Drizzle DAPP with Meteor backend. More information here.

Getting Started

Drizzle

Trough command line enter dapp folder

cd dapp

Installation

  1. Install Truffle and Ganache CLI globally. If you prefer, the graphical version of Ganache works as well!
npm install -g truffle
npm install -g ganache-cli
  1. Run the development blockchain, we recommend passing in a blocktime. Otherwise, its difficult to track things like loading indicators because Ganache will mine instantly.
// 3 second blocktime.
ganache-cli -b 3
  1. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with truffle. To enter development console:
truffle console

then:

compile
migrate

Run

Run the webpack server for front-end hot reloading (outside the development console). Smart contract changes must be manually recompiled and migrated.

// Serves the front-end on http://localhost:3000
npm run start

Meteor

Trough command line enter meteor folder

cd ..
cd backend

Run

npm install
// Serves the back-end on http://localhost:9000
npm start

About

Drizzle DAPP with Meteor backend


Languages

Language:JavaScript 92.6%Language:CSS 6.1%Language:HTML 1.2%