Nov 22, 2010

Aptana RadRails Setting up for whoWish

  1. Create 3 databases (schema) in MySQL: whowish_development, whowish_test, whowish_production
  2. Get whoWish project folder and import it to Aptana RadRails
  3. Modify config/database.yml so that the username and password are valid for accessing the database
  4. Right-Click on the project and choose Rake > db > schema > load (All the tables will be created)
  5. Right-Click on the project and choose Run As > Run Configurations ...
  6. Right-Click on Ruby Application and Choose 'New'
  7. In the name textbox, type 'Run'
  8. In the Project textbox, browse and choose 'whoWish'
  9. In the File textbox, browse and choose 'script/server'
  10. Click on Apply and Click on Run
  11. Open browser and go to http://localhost:3000
You also need to install:
  • recaptcha plugin, by running 'gem install ruby-recaptcha'.
  • mysql plugin, by running 'gem install mysql'

If you don't have Rake, please run 'gem install --remote rake' in command line.

If you do not have Gem, then download Gem here (we use 1.3.5). and type 'ruby setup.rb' in command line.

If you do not have Ruby, then please install Ruby 1.8.6.

And we use Rails version 2.3.4.