Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Failed to load latest commit information.
app ~ Change image scaling strategy for the grid view
chrome_app Chrome extension.
config Lol.
lib ~ Change image scaling strategy for the grid view
public Chrome extension.
test Add some tests.
vendor Grid view.
.gitignore Move sinatra-ext to vendor/plugins.
ABOUT.textile Update todo list.
Gemfile Rake freeze.
Gemfile.lock Rake freeze.
HISTORY.md + HISTORY.md
README.md ~ Refactor rake
Rakefile ~ Refactor rake
config.ru Initial.
init.rb Lol.

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.