Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Latest commit

 

History

History
64 lines (42 loc) · 1.28 KB

README.md

File metadata and controls

64 lines (42 loc) · 1.28 KB

SignHash Web UI

Codeship

SignHash dApp

Installation

Clone the repository and run npm install to get started:

npm install
npm start

After compiling the app should be available at http://localhost:8080.

Directory structure

  • src: Application source code.
  • static: Static files served with application.
  • support: Support files for building.
    • support/entry.js: Webpack entry point. Handles hot reloading.
  • bower.json: Bower package configuration.
  • package.json: Node package configuration.
  • webpack.config.js: Webpack configuration.

NPM scripts

watch

npm start or npm run watch will start a development server, which hot-reloads your application when sources changes.

serve

NODE_ENV=production npm run start:prod builds your application and starts a production server.

build

npm run build builds application client and server bundles.

Testing

Running end-to-end tests

Running locally

Runs on chrome by default.

cd tests/e2e
npm install
npm test
In Docker container
cd tests/e2e/docker
docker-compose build
docker-compose run --rm testcafe