Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 chrome_app
Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 ABOUT.textile
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 HISTORY.md
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
Octocat-spinner-32 init.rb
README.md

Nakedpaper

Google Reader interface.

Setup

Set up config: (see *)

cp  config/oauth.defaults.rb config/oauth.rb
vim config/oauth.rb

Do the Bundler dance:

rvm --rvmrc --create 1.9.2@nakedpaper
bundle install

If the GReader gem is actively being developed alongside this, add the GReader gem somewhere in vendor/:

ln -s ~/Projects/greader vendor/gems/greader

Start:

rake start   # or `rackup`, `thin start`, `ruby init.rb`, etc
rake test

Deployment

Use it as any other Rack up in Passenger/Thin/Unicorn/etc.

Heroku deployment (*)

It's recommended that you do your Heroku stuff on a new branch because we'll need to make some new files:

git checkout -b heroku

It's better to use Heroku env vars to configure OAuth, instead of config/oauth.rb which you can't commit to the repo:

heroku config:add OAUTH_KEY=your.key.com
heroku config:add OAUTH_SECRET=abc123

You will also need to "freeze" assets by pre-converting Sass and Coffee files into .js and .css:

rake freeze

# Assuming you're in the `heroku` branch:
git add .
git commit -m "Update assets."

# If you need to get new updates:
git pull --rebase . master

# Deploy
git push heroku heroku:master
Something went wrong with that request. Please try again.