SetupDevelopment

This page describes how to configure this project on a developer workstation.  Edit it to include your gems and databases.

Get the Code

Checkout from the Subversion URL on the Trac/SVN tab.  Use  your Assembla username and password.

If you use Radrails (with its embedded Subclipse) follow these svn checkout instructions

Install Libraries

Any libraries that you need to load with GEM will be listed here. All can be retrieved with "gem install ".

gem install  --include-dependencies

Gems from other sources...

For example: If you want to enable image thumbnails, install the Rmagick gem. This relies on the Imagemagick library, and on windows you will need to download the gem, unzip it, and follow the instructions in the README file to install Imagemagick and Rmagick.

Local Configuration

In order to avoid overwriting your configuration files, we have renamed the configuration files that you are likely to modify to ".example". Please copy these files and edit the new versions to match your environment.

Set up the database

We update this database using Rails Migrations. Go to a console prompt in your application directory and run the Migrations with

rake db:migrate

If you start a Webbrick server for the rails application you just checked out and configured, you should be able to get the application root in a browser, usually on URL http://localhost:3000 . This will display the home page.


Comments



Copyright © 2006–2008 by Assembla, LLC / Phone 1.781.328.2241 / E-mail: info@assembla.com