Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby JavaScript
tree: ac174e8ab9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
test
vendor/plugins
.gitmodules
README
README_RAILS
Rakefile

README

== About Snippy

Snippy is an open source clone of Josh Goebel's Pastie.

A lot of Pastie users (including me) wanted a private version. Snippy fills that void - enjoy.

=== Author

It was written by Flinn Mueller using Ruby on Rails 2.1 as a weekend project. I felt like one of the best features of Pastie is code highlighting so I made it a priority. Code highlighting is accomplished using a custom renderer with Ultraviolet. The Thinking Sphinx plugin has been on my radar for a little while now so I felt like it was a good time to throw that in.

=== On Github

Git has also been on my radar for a little while. So I figured I would host the project at Github - everyone wins. Get the source on Github.
link:http://github.com/actsasflinn/snippy/tree/master

=== Install

 1. git clone git://github.com/actsasflinn/snippy.git
 2. cd snippy
 3. cp config/database.yml.example config/database.yml
 4. sudo apt-get install libonig2 libonig-dev
 5. rake gems:install
 6. rake db:create
 7. rake db:migrate
 8. rake bootstrap
 9. rake thinking_sphinx:configure
10. rake thinking_sphinx:index
11. rake thinking_sphinx:start
12. ./script/server
13. Start Snipping http://0.0.0.0:3000/

Something went wrong with that request. Please try again.