知乎日报没有 Web 版,坑了个爹,拿 node/express/react/webpack 练练手,做了一个(会持续更新)。
因知乎版权问题,请自行部署。
详细信息(包括截图)在这里: https://github.com/nonoroazoro/Zhihu-Daily-Reader
知乎日报没有 Web 版,坑了个爹,拿 node/express/react/webpack 练练手,做了一个(会持续更新)。
因知乎版权问题,请自行部署。
详细信息(包括截图)在这里: https://github.com/nonoroazoro/Zhihu-Daily-Reader
|
cuebyteSep 1, 2015
1
滋瓷一个
|
|
catoncatSep 1, 2015
2
star
|
|
liqingcanSep 1, 2015 via Android
3
支持
|
|
TashinVSep 1, 2015 via iPhone
4
不知道该怎么用呢
|
|
5
@TashinV 你去 Github 页面,我写了详细说明。就 3 步可以~
|
|
exuxuSep 1, 2015
6
404 commits ....
|
|
7
@exuxu 哈哈,没注意。。。好讽刺!
|
|
kingnameSep 1, 2015
8
http://daily.zhihu.com/story/7093354
这不就是 web 版吗~ |
|
9
@kingname 这个对阅读太不友好。最大的问题:切换文章不方便。当然其他样式问题就不说了。
|
|
dotpigSep 1, 2015
10
是我姿势不对吗?
|
|
kyrreSep 1, 2015
11
貌似 po 主是在 windows 下开发的。
类 Unix 环境下改一下 package.json, 把第 21 行的 SET 改为 env 就妥了。 just a workaround~ |
|
liteneoSep 1, 2015
12
vs2013--
|
|
13
@kyrre 是的。。。我这没 Linux 环境,回头看看改一下。
|
|
14
@liteneo VS 显露王八之气啊!!!怎能不用啊。。。
|
|
15
@dotpig 回头我改一下,之前没有环境测试非 Windows 。
|
|
dotpigSep 2, 2015
16
|
|
17
@dotpig 是的~我放到云上的话访问简单了但是版权有问题,不放的话本地第一次部署比较麻烦的。
|
|
orcusfoxSep 2, 2015
18
|
|
MartSep 2, 2015
19
额, 刚在 ubuntu 上部署了一下, 反正没成功 。
npm ERR! [email protected] startx: `export NODE_ENV=production&&node ./bin/www` npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the [email protected] startx script. npm ERR! This is most likely a problem with the zhihu-daily-reader package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! export NODE_ENV=production&&node ./bin/www npm ERR! You can get their info via: npm ERR! npm owner ls zhihu-daily-reader npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.19.0-25-generic npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "run" "startx" npm ERR! cwd /home/mart/Zhihu-Daily-Reader npm ERR! node -v v0.10.25 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/mart/Zhihu-Daily-Reader/npm-debug.log npm ERR! not ok code 0 |
|
uniqueSep 5, 2015 via Android
20
star
|
|
21
@Mart 我在 Cygwin 里测试了一下,把 export NODE_ENV=production&&node ./bin/www 改成 env NODE_ENV=production&&node ./bin/www 即可。
已经同步到 Github 上了。 |
|
MartSep 8, 2015
22
@nonoroazoro 好的,我看看。
|