twreporter-reacttwreporter site with nodejs

联合创作 · 2023-09-22 23:41

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

浏览 18
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报