Sunday, September 16, 2012

General steps to setup an existing Ruby on Rails project from Git repository

1. Git clone the source
2. Update configuration files, such as config/database.yml and/or config/config.yml
3. Create database accordingly.
4. Install project gems: $ bundle install
5. Install dependency packages.  e.g. ImageMagick for paperclip gem.
    $ brew install imagemagick
6. Prepare database: $ rake db:migrate
7. Prepare test: $ rake db:test:prepare
8. Run test: $ rake test

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.