https://github.com/youfoundron/gatsby-truffle-starter
Gatsby starter with the Truffle Ethereum development framework
https://github.com/youfoundron/gatsby-truffle-starter
dapp ethereum gatsby starter truffle web3
Last synced: 12 months ago
JSON representation
Gatsby starter with the Truffle Ethereum development framework
- Host: GitHub
- URL: https://github.com/youfoundron/gatsby-truffle-starter
- Owner: youfoundron
- Created: 2017-08-03T16:28:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-11T14:22:40.000Z (almost 9 years ago)
- Last Synced: 2025-04-19T20:14:07.618Z (over 1 year ago)
- Topics: dapp, ethereum, gatsby, starter, truffle, web3
- Language: JavaScript
- Size: 199 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gatsby Truffle Starter
A Gatsby starter with the Truffle Ethereum development framework in place.
## Installation
1. Install truffle and an Ethereum client. For local development, try EthereumJS TestRPC.
```
$ npm install -g truffle // Version 3.0.5+ required.
$ npm install -g ethereumjs-testrpc
```
2. Clone this repo and cd into directory.
```
$ git clone git@github.com:rongierlach/gatsby-truffle-starter.git
$ cd gatsby-truffle-starter
```
3. Install dependencies with npm.
```
$ npm install
```
4. Use truffle to compile and migrate the contracts.
```
$ truffle compile
$ truffle migrate
```
5. Start the dev environment.
```
$ npm run dev
```
6. Building for production.
```
$ npm run build
```