feedscout
所属分类:Node.js
开发工具:CSS
文件大小:114KB
下载次数:0
上传日期:2013-10-04 11:13:47
上 传 者:
sh-1993
说明: Node.js中的社交提要获取器聚合器
(Social feed fetcher aggregator in Node.js)
文件列表:
.travis.yml (99, 2013-10-04)
Notes-data.md (3754, 2013-10-04)
Notes.md (1570, 2013-10-04)
Procfile (86, 2013-10-04)
app.js (453, 2013-10-04)
app (0, 2013-10-04)
app\filters (0, 2013-10-04)
app\filters\flickr.coffee (1198, 2013-10-04)
app\filters\instagram.coffee (1234, 2013-10-04)
app\filters\tumblr.coffee (1470, 2013-10-04)
app\filters\twitter.coffee (1217, 2013-10-04)
app\helpers (0, 2013-10-04)
app\helpers\moment.coffee (34, 2013-10-04)
app\initializers (0, 2013-10-04)
app\initializers\app.js (973, 2013-10-04)
app\routes (0, 2013-10-04)
app\routes\admin.coffee (4810, 2013-10-04)
app\routes\feed.coffee (1013, 2013-10-04)
app\routes\home.coffee (167, 2013-10-04)
app\routes\sources.coffee (436, 2013-10-04)
app\tasks (0, 2013-10-04)
app\tasks\app.js (2004, 2013-10-04)
app\tasks\db.js (228, 2013-10-04)
app\views (0, 2013-10-04)
app\views\accounts (0, 2013-10-04)
app\views\accounts\index.jade (1605, 2013-10-04)
app\views\accounts\new-flickr.jade (1881, 2013-10-04)
app\views\accounts\new-instagram.jade (1905, 2013-10-04)
app\views\accounts\new-tumblr.jade (1921, 2013-10-04)
app\views\accounts\new-twitter.jade (1850, 2013-10-04)
app\views\accounts\show-flickr.jade (1356, 2013-10-04)
app\views\accounts\show-instagram.jade (1410, 2013-10-04)
app\views\accounts\show-tumblr.jade (1484, 2013-10-04)
app\views\accounts\show-twitter.jade (1383, 2013-10-04)
app\views\errors (0, 2013-10-04)
app\views\errors\404.jade (379, 2013-10-04)
app\views\errors\500.jade (396, 2013-10-04)
... ...
# feedscout
Setup:
$ npm install
Set up config:
$ ./run gen-admin # Make an admin password
$ cp config/database.yml{.example,}
$ ./run db-create
$ ./run db-sync
Run:
$ ./run server
For more info:
$ ./run --help
Tests
-----
$ npm test
Admin
-----
Go to `http://localhost:4567/admin`.
(The password is likely `password`, it's stored in `config/admin.yml`.)
Deployment
----------
# Set up the host
$ heroku create
$ git push heroku master
# Start a web process
$ heroku ps:scale web=1
# Start a database
$ heroku addons:add heroku-postgresql
$ heroku pg:promote HEROKU_POSTGRESQL_PURPLE_URL
# Enable backups
$ heroku addons:add pgbackups:auto-month
# Set up database
$ heroku run run db-sync
Change admin password
---------------------
$ ./run gen-admin
API
---
$ curl http://feeds.app.com/sources.json
$ curl http://feeds.app.com/feed.json
Restoring from backup
---------------------
$ ./run backup-restore < backup.json
近期下载者:
相关文件:
收藏者: