monocle

Link and news sharing

  • 所有者: maccman/monocle
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Monocle

Monocle is a link and news aggregation website.

http://monocle.io

Screenshot

Prerequisites

  • Ruby 2.0
  • Postgres 9.3
  • Redis
  • A GitHub app account
  • A Twitter app account

Setup

bundle install
createdb monocle_development
rake db:migrate

Configuration

Monocle needs a few configuration variables to work properly.
You can export them from your terminal like in the following example:

export GITHUB_KEY=123
export GITHUB_SECRET=123

export TWITTER_KEY=123
export TWITTER_SECRET=123

Or you can copy the included .sample.env into a .env file and set all your
variables there.

First time user

To become administrator as first time user, first start Monocle with:

thin start

Login with twitter or github into Monocle, then open a terminal and open Monocle inside an IRB session with:

irb -r ./app.rb

From there execute:

user = Brisk::Models::User.first
user.admin = true
user.registered = true
user.save

Now you will be able to post, comment and invite users.

主要指标

概览
名称与所有者maccman/monocle
主编程语言Ruby
编程语言Ruby (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2013-09-30 23:28:34
推送于2014-07-16 16:18:16
最后一次提交2014-07-16 09:18:14
发布数0
用户参与
星数1.4k
关注者数49
派生数117
提交数28
已启用问题?
问题数23
打开的问题数18
拉请求数6
打开的拉请求数2
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?