GithubHelp home page GithubHelp logo

d_os_final's Introduction

2021分散式系統期末專案

Backend && Frontend

Install & Setting:

  1. cd Backend
  2. 創建serviceAccountKey.json (Firebase)
  3. pip install -r requirements.txt

Run: uvicorn main:app --reload

Blockchain

Install & Setting:

  1. cd Blockchain
  2. npm install
  3. 修改web3Func.js中HttpProvider網址 // var web3 = new Web3(new Web3.providers.HttpProvider(""));
  4. 確任main.js中apiUrl,及helper.js中postSCURL、postMintURL正確

Run: node main.js

IPFS

Install & Setting:

  1. cd IPFS
  2. 安裝所需套件:ipfshttpclient, requests, json, hashlib
  3. 確卻main.py中resourse_path正確

Run: python main.py

Deploy and Mint

前後端、區塊鏈部分、IPFS部分開啟後

  1. 可透過Monitor頁面確認區塊鏈部分及IPFS部分是否持續執行
  2. 可透過Home頁面進行布署合約或Mint token

d_os_final's People

Contributors

zyliutw avatar

Watchers

 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.