Skip to content

FreddieLindsey/truffle-webpack-boilerplate

Repository files navigation

Truffle with Webpack Boilerplate

Build Status

Purpose

There are quite a number of truffle boilerplates out there, but none that really completely worked out of the box. This is particularly the case with Truffle version 3.x. This boilerplate works completely with version 3.x as far as I know.

Here, just run the following:

yarn run services
yarn start

This should get you going with a testrpc instance running on Docker. Starting yarn then brings up webpack which migrates and hot-reloads your contracts as you edit them.

Have fun!

Docker

I couldn't find the Docker image referenced in the testrpc repository. I have therefore built it and pushed it publicly to Docker. Please kindly recognise that this work is not my own, but that of ethereumjs.

Issues

Please feel free to contact me or submit a PR if you find any issues you'd like to share.