Skip to content

streetlabs/streetprint

Repository files navigation

Streetprint 5.0

Visit the Streetprint website at http://www.streetprint.org to find out more about the Streetprint Engine.

A Project of the CRCStudio

Setup

First clone the project.

git clone git://github.com/crcstudio/streetprint.git

Now install all the required gems:

sudo rake gems:install

Customize config/database.yml to your liking and then run these two tasks to setup the database:

rake db:create
rake db:schema:load

Mail server settings will need to be set in config/email.yml.

Make sure you have Sphinx installed and then set the appropriate path to searchd in config/sphinx.yml (rake ts:config should do this for you). You can now start sphinx.

rake ts:index
rake ts:start

You will also need to have ImageMagick and rmagick installed. For anyone on OS X there is a ruby script that removes the pain of the rmagick installation.

Since we have upgraded to use the fluid template system you also now need to load some seed data to get themes working.

rake db:seed

You can run the tests to make sure that everything is working however this will require installing all the testing dependencies including Selenium. Note that Selenium currently requires the installation of Firefox 3.0.11 and that newer versions of Firefox will not work.

sudo gem install Selenium

sudo rake gems:install RAILS_ENV=test
rake test:all

You will probably want to customize the info on the main visitor page, etc. We will be putting together tools to do this but priority one is getting the site up for researchers so this might take a while.