7linhas
所属分类:其他
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2016-12-07 13:50:10
上 传 者:
sh-1993
说明: 趋势新闻,
(Trending news,)
文件列表:
.openshift/ (0, 2016-12-07)
.openshift/action_hooks/ (0, 2016-12-07)
.openshift/cron/ (0, 2016-12-07)
.openshift/cron/daily/ (0, 2016-12-07)
.openshift/cron/hourly/ (0, 2016-12-07)
.openshift/cron/hourly/wake-up-the-app (81, 2016-12-07)
.openshift/cron/minutely/ (0, 2016-12-07)
.openshift/cron/monthly/ (0, 2016-12-07)
.openshift/cron/weekly/ (0, 2016-12-07)
.openshift/cron/weekly/chrono.dat (50, 2016-12-07)
.openshift/cron/weekly/chronograph (63, 2016-12-07)
.openshift/cron/weekly/jobs.allow (404, 2016-12-07)
.openshift/cron/weekly/jobs.deny (132, 2016-12-07)
.openshift/markers/ (0, 2016-12-07)
LICENSE (1086, 2016-12-07)
app/ (0, 2016-12-07)
app/api/ (0, 2016-12-07)
app/api/line/ (0, 2016-12-07)
app/api/line/lineManager.js (3073, 2016-12-07)
app/api/line/lineRoutes.js (973, 2016-12-07)
app/api/line/providers.json (4085, 2016-12-07)
app/dbUtils.js (691, 2016-12-07)
app/npm-debug.log (3397, 2016-12-07)
app/routes.js (265, 2016-12-07)
app/web/ (0, 2016-12-07)
app/web/favicon.ico (1086, 2016-12-07)
app/web/index.html (860, 2016-12-07)
app/web/lib/ (0, 2016-12-07)
app/web/lib/mithril.min.js (20008, 2016-12-07)
... ...
# 7Linhas
A clean, fast and opensource trending news app for the web.
See it running with Brazilian news [http://sevenlines-jnasc.rhcloud.com/](http://sevenlines-jnasc.rhcloud.com/)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
## Setup
1. Install [MongoDB](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/) 2.4
1. Install [Node.js](https://nodejs.org) v5
1. Install 7linhas dependecies
```
npm install
```
## Run in localhost
1. Start MongoDb
```
mongod
```
2. Start 7linhas
```
npm start
```
3. To load news and promotions http://localhost:8800/api/wake-up
4. The application will be running at http://localhost:8800/
## Rules
1. Use [standardJs](https://github.com/feross/standard) identation style
1. Use english
近期下载者:
相关文件:
收藏者: