Coder Social home page Coder Social logo

wk0 / truffle-uport-drizzle-react-materialui-starter Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 326 KB

Starter for dApp development

JavaScript 93.76% HTML 1.53% CSS 4.71%
truffle uport drizzle react redux material-ui boilerplate template ethereum redux-auth-wrapper

truffle-uport-drizzle-react-materialui-starter's Introduction

truffle-uport-drizzle-react-materialui-starter

This repo started as a two truffle boxes:

Environmental Variables

You need to set infuraKey, uportNudgeClientID, and uportNudgeSignerKey (checkout config/env.js)

Installation

  1. Make sure you have Truffle and Ganace CLI (I'm using the GUI)
    npm install -g truffle
    npm install -g ganache-cli

I'm using the ganache-1.0.2 AppImage from http://truffleframework.com/ganache/

  1. The Truffle box has already been unboxed, so all you need to do is

    truffle compile
    truffle migrate
    

    Note: for the GUI, use

    truffle migrate --network ganache_gui
    

    And if you want to add a network, like main or a test net, add it to truffle.js as a network. Refer to http://truffleframework.com/docs/advanced/configuration. Truffle-config.js is for Windows compatibility.

  2. In your browser of choice (I'm using Firefox), open metamask and add an RPC network. Then add whichever accounts you'll need via the import account functionality.

  3. Start the app with

    npm run start
    

    and make sure MetaMask is unlocked and on the correct network. If you get a loading screen, Metamask or your RPC node is probably the issue.

  4. Tests are using Jest, and are done via

    npm run test
    
  5. To build for production

    npm run build
    

truffle-uport-drizzle-react-materialui-starter's People

Contributors

wk0 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.