/twreporter-react

twreporter site with nodejs

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

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