chaingeStanford

所属分类:区块链开发
开发工具:C++
文件大小:20950KB
下载次数:0
上传日期:2018-11-13 20:55:07
上 传 者sh-1993
说明:  搭乘斯坦福大学学生前往Chainge
(Onboard Stanford students to Chainge)

文件列表:
.DS_Store (6148, 2018-11-14)
.eslintrc.json (498, 2018-11-14)
LICENSE (1067, 2018-11-14)
api.js (0, 2018-11-14)
auth.js (1286, 2018-11-14)
block.js (9095, 2018-11-14)
chain.js (6669, 2018-11-14)
chaingeStanford (0, 2018-11-14)
chaingeStanford\app.js (1442, 2018-11-14)
chaingeStanford\bin (0, 2018-11-14)
chaingeStanford\bin\www (1601, 2018-11-14)
chaingeStanford\package.json (334, 2018-11-14)
chaingeStanford\public (0, 2018-11-14)
chaingeStanford\public\stylesheets (0, 2018-11-14)
chaingeStanford\public\stylesheets\style.css (111, 2018-11-14)
chaingeStanford\routes (0, 2018-11-14)
chaingeStanford\routes\index.js (205, 2018-11-14)
chaingeStanford\routes\users.js (203, 2018-11-14)
chaingeStanford\views (0, 2018-11-14)
chaingeStanford\views\error.jade (84, 2018-11-14)
chaingeStanford\views\index.jade (66, 2018-11-14)
chaingeStanford\views\layout.jade (125, 2018-11-14)
connect_node.js (1718, 2018-11-14)
crypto (0, 2018-11-14)
crypto\dh-param.cpp (2806, 2018-11-14)
crypto\json.hpp (447926, 2018-11-14)
crypto\libcryptopp.a (87668096, 2018-11-14)
crypto\main (15434096, 2018-11-14)
crypto\main.cpp (11345, 2018-11-14)
crypto\test (134136, 2018-11-14)
crypto\test.cpp (203, 2018-11-14)
db.js (14930, 2018-11-14)
dump.rdb (18, 2018-11-14)
email.js (709, 2018-11-14)
index.html (1509, 2018-11-14)
main.js (2383, 2018-11-14)
merkle_tree.js (7119, 2018-11-14)
... ...

# chaingeStanford Onboard Stanford students to Chainge ## Step by step guide for running chaingeStanford on Docker 1. Download and install docker. You may need to reboot your computer to run docker daemon. 1. Download the docker image by ``` docker pull jblee94/chainge:1 ``` 1. Run the docker image by ``` docker run -p 3333:3333 --add-host="localhost:" -it jblee94/chainge:1 /bin/bash ``` This binds the host's port 3333 to container's 3333. This will log you into the docker image as root. 1. Run the redis server ``` service redis-server start ``` 1. Run our txn calculator ``` /home/chaingeStanford/crypto/main ``` You may need to run it as a background process (by appending & at the command). But you can also run another terminal process by ``` docker exec -i -t /bin/bash ``` You can check your docker instance id by ``` docker ps ``` 1. Go to config.js (which can be found in the chaingeStanford repo within Docker) and set your id and password for nodemailer service. You can use your gmail account. 1. Change directories to home and then chaingeStanford, then run ```npm start``` to run the server.

近期下载者

相关文件


收藏者