slashrocket/redditgraphed

语言: Ruby

git: https://github.com/slashrocket/redditgraphed

分析和绘制reddit上的前十个帖子
Analyzing and graphing the top ten posts on reddit
README.md (中文)

自述

| |

特约

请随时联系我们:https://slashrocket.io

后台处理

  • 需要Redis
  • 需要Elasticsearch
  • 通过sidekiq完成
  • 通过以下方式启动sidekiq:'bundle exec sidekiq'
  • 通过以下方式重新启动sidekiq:'kill -kill $(cat tmp / pids / sidekiq.pid)&& bundle exec sidekiq'
  • 通过以下方式关注sidekiq日志:'tail -f log / sidekiq.log'
  • 如果这是您第一次启动应用程序,请务必在rails控制台中运行“Subscriber.reindex”

database.yml的

我们遇到了一些问题,不同的贡献者需要为PostgreSQL使用不同的用户名/密码组合,所以我们删除了通用database.yml。为了让您的运行正常,请将database_example.yml重命名为database.yml

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

README

slashrocket - Slack | Code Climate | Gittens

Contributing

Feel free to contact us on slack at: https://slashrocket.io

Background processing

  • Requires Redis
  • Requires Elasticsearch
  • Done via sidekiq
  • Start sidekiq via: 'bundle exec sidekiq'
  • Restart sidekiq via: 'kill -kill $(cat tmp/pids/sidekiq.pid) && bundle exec sidekiq'
  • Follow the sidekiq logs via: 'tail -f log/sidekiq.log'
  • If this is your first time launching the application, be sure to run 'Subscriber.reindex' in rails console

database.yml

We had some issues with different contributers needing different username/password combos for PostgreSQL so we have removed the universal database.yml. In order to get yours up and running, rename database_example.yml to database.yml