Skip to content

twreporter/twreporter-react

Repository files navigation

CircleCI Tag Join the chat at https://gitter.im/twreporter/twreporter-react

TW Reporter

New Media foundation in Taiwan.

Contains

Environment

Install node(https://nodejs.org/en/) @7.9.0 above.

Installation

yarn install

Production start

make start

Development start

make dev

Build docker image

// install dependencies first
yarn install

// build the webpack bundles and transpile es6 to es5
make build

// build docker image
docker build -t twreporter-react:latest .

Testing

Run unit tests

make test

Run ui-test (It will take some time to compare screenshots)

// start dev servers for ui-test
make dev
// run ui-test
make ui-test

License

  • Copyright (C) 2015 - 2018 The Reporter 報導者. All rights reserved.
  • Distributed under the GNU AGPL v3.0