Skip to content

Instantly share code, notes, and snippets.

<VirtualHost *:80>
ServerName integrity.example.com
DocumentRoot /var/www/integrity/public
</VirtualHost>
$ sudo apt-get install sqlite3 libsqlite3-dev
$ sudo gem install sqlite3-ruby
$ gem sources -a http://gems.github.com
$ sudo gem install foca-integrity
$ integrity install /path/to/my/integrity/install
$ cd /tmp
$ svn co http://svn.apache.org/repos/asf/couchdb/trunk couchdb
$ sudo port install automake autoconf libtool help2man icu spidermonkey erlang
$ cd couchdb
$ ./bootstrap
$ ./configure
$ make && sudo make install
$ sudo couchdb
# config/initializers/compass.rb
require 'compass'
location_hash = {
"#{RAILS_ROOT}/app/stylesheets" => "#{RAILS_ROOT}/public/stylesheets"
}
Theme.find_all.map(&:name).each do |theme|
location_hash["#{RAILS_ROOT}/themes/#{theme}/stylesheets"] = "#{RAILS_ROOT}/themes/#{theme}/stylesheets"
end