Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentb authored Jul 1, 2019
1 parent 9896df1 commit f537366
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions Ethereum/README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@

# Election - DAPP Tutorial
Build your first decentralized application, or Dapp, on the Ethereum Network with this tutorial!

**Full Free Video Tutorial:**
https://youtu.be/3681ZYbDSSk

# Personal Data Management - Ethereum-based system

Follow the steps below to download, install, and run this project.

## Dependencies
Install these prerequisites to follow along with the tutorial. See free video tutorial or a full explanation of each prerequisite.
Install these prerequisites to follow along with the Personal data management system based on Ethereum.
- NPM: https://nodejs.org
- Truffle: https://github.com/trufflesuite/truffle
- Ganache: http://truffleframework.com/ganache/
- Metamask: https://metamask.io/


## Step 1. Clone the project
`git clone https://github.com/dappuniversity/election`
`git clone https://github.com/nguyentb/Personal-data-management`

## Step 2. Install dependencies
## Step 2. Go to Ethereum folder, Install dependencies
```
$ cd election
$ cd Ethereum
$ npm install
```
## Step 3. Start Ganache
Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance. See free video tutorial for full explanation.
Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.


## Step 4. Compile & Deploy Election Smart Contract
## Step 4. Compile & Deploy the Smart Contracts
`$ truffle migrate --reset`
You must migrate the election smart contract each time your restart ganache.
You must migrate the smart contract each time your restart ganache.

## Step 5. Configure Metamask
See free video tutorial for full explanation of these steps:
Expand All @@ -42,5 +36,4 @@ See free video tutorial for full explanation of these steps:
`$ npm run dev`
Visit this URL in your browser: http://localhost:3000

If you get stuck, please reference the free video tutorial.

If you get stuck, please contact me at [email protected].

0 comments on commit f537366

Please sign in to comment.