Skip to content
Starter project for developing Ethereum smart contracts with Solidity, Truffle and Node.js as a backend server.
JavaScript Dockerfile
Branch: master
Clone or download
mpetrunic Merge pull request #5 from NodeFactoryIo/dependabot/npm_and_yarn/exte…
…nd-3.0.2

Bump extend from 3.0.1 to 3.0.2
Latest commit 43df755 May 23, 2019

README.md

NodeFactory

Solidity-NodeJs-Docker-Starter

CircleCI branch

Requirements

Following software is required to be installed to use this repo:

Usage

On first use of this repo, run npm run init which will install all required dependencies for running tasks. Then run npx run build which will build docker image.

Run npx run to see all available commands:

  • node:test - Runs nodejs tests
  • node:dev - Starts application and all dependent services
  • contracts:clean - Delete contract artifacts
  • contracts:deploy - Run all missing migrations to deploy contracts to ethereum network. Command accepts param with id of network
  • contracts:redeploy - Run all migrations again to deploy contracts to ethereum network. Command accepts param with id of network
  • contracts:compile - Compiles all contracts
  • contracts:test - Runs tests against contracts in docker. It accepts test name as optional argument
  • clean - Removes all build directories and dependencies
  • lint - Runs eslint on current project
  • build - Builds new docker image

Contribution

If this repository helped you, let us know by donating ETH to 0xbD9f96663E07a83ff18915c9074d9dc04d8E64c9 or feel free to contribute with more features!

You can’t perform that action at this time.