Code Monkey home page Code Monkey logo

dapp's Introduction

Dapp

the final project

开发环境以及运行环境

  • Windows 10
  • npm -v 6.4.1
  • node -v 11.4.0
  • solc -v ^0.4.24

安装

1.全局安装 Truffle

npm install -g truffle

2.安装ganache/ganache-cli

npm install -g ganache-cli

或者到对应的github上下载GUI https://github.com/trufflesuite/ganache/releases

下载部署

3.从github上下载此项目

4.打开至对应的项目文件夹,下载相应的node_modules

npm install

5.打开ganache-cli/ganache,使得ganache中的host于port与truffle.js文件一致,默认为127.0.0.1:8545 6.将项目在本地运行,运行前台以及后台

npm run dev-front
npm run dev-back

npm run dev-front用于打包项目 npm run dev-back用于将对应的项目与本地网络和端口相联系

运行项目

  1. 运行完成之后,提示成功打包bundle.js,即可打开浏览器运行 http://127.0.0.1:8080

项目截图

在这里插入图片描述

在这里插入图片描述在这里插入图片描述

(Note! 由于使用IPFS存储以及获取文件,文件传输较慢显示时间可能较长,若长时间显示不了,请检查网络环境以及是否科学上网)

dapp's People

Contributors

zenghui9977 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kuaiph

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.