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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?