Development/Quick Start

This guide is for reasonably experienced/technically competent developers who aren't afraid of diving in at the deep end. If you want a more step-by-step guide, see Development/Getting Started.

The code
Is on github: https://github.com/Growstuff/growstuff

Fork it, then clone your own repo with:

git clone https://github.com/YOURNAME/growstuff.git

Requirements
We use Ruby 1.9.3, Rails 3.2, and sqlite3 in dev. Our instructions for setting them up using rvm can be found at Development pre-requisites.

Initialising and running the Growstuff app
Install gems and set up the database:

cd growstuff bundle install rake db:setup

Make sure the tests pass:

rake

Set up third-party API credentials (eg. to use features that require Flickr, OpenStreetMap, Twitter, or PayPal integration).

cp credentials.example credentials.sh   vim credentials.sh # or editor of your choice, of course source credentials.sh

Run the web server:

unicorn

Point your browser at http://localhost:8080