/ UI

A Vue based solidity Dapp development framework

A Vue based solidity Dapp development framework

truffle-vue

This box is a Vue based solidity Dapp development framework.

Getting Started

Install

First

$ (sudo) npm install -g ethereumjs-testrpc

Second

$ (sudo) npm install -g truffle

Third

$ truffle unbox huarxia/truffle-vue

or

$ https://github.com/huarxia/truffle-vue.git
$ cd truffle-vue

Fourth

$ npm install

Fifth new shell window

$ testrpc

Sixth on current window

$ truffle compile
$ truffle migration
$ npm run dev

develop shell

compile

$ truffle compile

migration

$ truffle migration

use gulp

Global install gulp

$ (sudo) npm install gulp -g

If it is the first use of direct operation gulp

$ gulp

If it was used second times

$ gulp start

Which commands are included?

gulp // First compile migrate and run
gulp start // First run
gulp clean // delete build
gulp compile // Compile smart contract and delete build first
gulp migrate // Deploy smart contracts to localgulp reset // Redeploy smart contract to local and restart service
gulp migrate-deploy // Deploying smart contracts to ropsten using infura
gulp deploy // Deploying smart contracts to ropsten using infura and run dev

GitHub