hamkd
所属分类:collect
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2017-07-27 11:22:19
上 传 者:
sh-1993
说明: 寒门知识社区官网源码,
(The source code of the official website of Hanmen Knowledge Community,)
文件列表:
.autod.conf.js (349, 2017-07-27)
.eslintignore (9, 2017-07-27)
.eslintrc (37, 2017-07-27)
.travis.yml (170, 2017-07-27)
LICENSE (1120, 2017-07-27)
a.html (600, 2017-07-27)
agent.js (101, 2017-07-27)
app.js (122, 2017-07-27)
app/ (0, 2017-07-27)
app/controller/ (0, 2017-07-27)
app/controller/home.js (465, 2017-07-27)
app/controller/user.js (3039, 2017-07-27)
app/controller/useradmin/ (0, 2017-07-27)
app/controller/useradmin/ask.js (1251, 2017-07-27)
app/controller/useradmin/userinfo.js (433, 2017-07-27)
app/extend/ (0, 2017-07-27)
app/extend/helper.js (1383, 2017-07-27)
app/middleware/ (0, 2017-07-27)
app/middleware/loginset.js (276, 2017-07-27)
app/middleware/setpageurl.js (323, 2017-07-27)
app/middleware/usercheck.js (402, 2017-07-27)
app/model/ (0, 2017-07-27)
app/model/ask.js (1141, 2017-07-27)
app/model/user.js (544, 2017-07-27)
app/public/ (0, 2017-07-27)
app/public/404.html (1157, 2017-07-27)
app/public/css/ (0, 2017-07-27)
app/public/css/ask.css (668, 2017-07-27)
app/public/css/ask.scss (112, 2017-07-27)
app/public/css/common.css (12924, 2017-07-27)
app/public/css/common.scss (3650, 2017-07-27)
app/public/css/index.css (731, 2017-07-27)
app/public/css/index.scss (129, 2017-07-27)
app/public/css/userreg.css (497, 2017-07-27)
... ...
# hamkd
The app for [hamkd.com](http://www.hamkd.com)
## QuickStart
see [docs][egg] for more detail.
### Development
```shell
$ npm install
$ npm run dev
$ open http://localhost:7001/news
```
### Deploy
Use `EGG_SERVER_ENV=prod` to enable prod mode
```shell
$ EGG_SERVER_ENV=prod npm start
```
### npm scripts
- Use `npm run lint` to check code style.
- Use `npm test` to run unit test.
- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.
## Thanks
thanks for
- [egg][egg]
- nodejs
- koa
[egg]: https://eggjs.org
近期下载者:
相关文件:
收藏者: