Skip to content

vmishra22/cscie599bc

Repository files navigation

cscie599bc

Blockchain project

  1. Make sure you have geth or ganache running, with the same url and port set up in src/LetterContract/truffle.js
  2. run ./src/start.sh to start the service

rec-letters

Build Status

This project was generated with the Angular Full-Stack Generator version 4.2.3.

Getting Started

Prerequisites

Developing

cd src; ./start.sh

####Alternatively, step by Step

  1. Run npm install to install server dependencies.

  2. Run npm install -g truffle to install truffle globally

  3. Enter \Lettercontract remove the files in \build folder, run truffle compile, truffle migrate

  4. Run mongod in a separate shell to keep an instance of the MongoDB Daemon running

  5. Run ipfs daemon to have ipfs node running

  6. Run gulp serve to start the development server. It should automatically open the client in your browser when ready.

Build & development

Run gulp build for building and gulp serve for preview.

Testing

Running npm test will run the unit tests with karma.

Debug

  1. Port in use error lsof -n -i:3000 | grep LISTEN | awk '{ print $2 }' | uniq | xargs kill -9

  2. solidity compilation error, update solidity version in truffle cd /usr/local/lib/node_modules/truffle run npm install solc@0.4.21

About

Blockchain project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published