monocle

Link and news sharing

  • Owner: maccman/monocle
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownermaccman/monocle
Primary LanguageRuby
Program languageRuby (Language Count: 4)
Platform
License:MIT License
所有者活动
Created At2013-09-30 23:28:34
Pushed At2014-07-16 16:18:16
Last Commit At2014-07-16 09:18:14
Release Count0
用户参与
Stargazers Count1.4k
Watchers Count49
Fork Count117
Commits Count28
Has Issues Enabled
Issues Count23
Issue Open Count18
Pull Requests Count6
Pull Requests Open Count2
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private