Git Product home page Git Product logo

anonyvoting's Introduction

简介

AnnoyVote是一块基于区块链的多场景的可定制化的匿名投票平台,旨在解决“黑幕式投票”的痛点问题。

依赖

  • python3.7+
  • FISCO BCOS 2.x
  • @vue/cli 5.0.6 & yarn version v1.22.18

使用方法

1.按照FISCO的教程搭建一个区块链网络并下载fisco的python-sdk。

2.在blockchain.py中添加python-sdk的路径(第11行)。

3.cd avecvoting && pip install -r requirements.txt安装python依赖。

4.python app.py启动后端。

5.cd vue-web && yarn install && yarn serve启动前端。

6.127.0.0.1:8081端口可进入投票平台。

其他

1.可使用gunicorn封装flask后端。

2.若需要用nginx,请将vue-web中的dist文件夹移动至nginx默认html文件夹(/var/www/html)。

anonyvoting's People

Contributors

rookita avatar zhang-ye2001 avatar anthonymao avatar ustcoliver avatar lhkst avatar otajiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar Xinyi avatar  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.