Skip to content
a place to keep the snippets I find and know
Ruby Shell JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
solr/conf
test
vendor
.gitignore
.rvmrc
Capfile
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

Braindump

Braindump is a simple web app written in Rails where you can store code snippets together with a description. Each snippet belongs to a certain language and can be tagged.

It is the possible to do a full text search on the code and the description as this information is indexed by a solr instance.

Installation

clone the repository bundle rake sunspot:solr:start rails s

Solr handling

local

rake sunspot:solr:start
rake sunspot:solr:stop
rake sunspot:reindex

remote (capistrano)

cap solr:start
cap solr:stop
cap solr:reindex
Something went wrong with that request. Please try again.