Skip to content

Latest commit

 

History

History
69 lines (55 loc) · 1.43 KB

README.md

File metadata and controls

69 lines (55 loc) · 1.43 KB

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