Skip to content

kev0960/chaingeStanford

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  2. Download the docker image by

      docker pull jblee94/chainge:1
    
  3. Run the docker image by

      docker run -p 3333:3333 --add-host="localhost:<YOUR HOST IP ADDRESS>" -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.

  4. Run the redis server

      service redis-server start
    
  5. 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 <YOUR DOCKER INSTANCE ID> /bin/bash
    

    You can check your docker instance id by

      docker ps
    
  6. 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.

  7. Change directories to home and then chaingeStanford, then run npm start to run the server.

About

Onboard Stanford students to Chainge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published