I do not know anything about Ruby still I would like to install BBYIDX on my clean Windows 7 machine.
If you don't know how to install this special website at least describe me how to run a Ruby on Rails web application from scratch please.
Install Postgres
You can download Postgres from here
Launch pgadmin
tool
Create a user called bbyidx
(with password bbyidx
) with admin privileges.
Create a database called bbyidx_dev
.
Install ruby
Download and install Ruby.
Install ruby dev kit
Download and install the dev kit.
When installing the Development Kit, type C:\RubyDevKit
in the Extract To field. Click the Extract button.
Enter these commands in a command prompt
cd "C:\RubyDevKit"
ruby dk.rb init
ruby dk.rb install
Close the command prompt window.
Install bundler
gem install bundler
Download the source code for BBYIDX
Create a directory called bbyidx
on C
drive.
Download the latest zipball of the project source code.
Unzip the downloaded zip file to c:\bbyidx
directory.
Configure config/environment_custom.rb
Set following parameter at minimum:
SESSION_SECRET = 'GIVE SOME LONG KEY HERE'
Add Postgres
gem to gems
file
Add the following text to the 3rd line of the file c:\bbyidx\Gemfile
gem 'pg'
Install the required gems and create the required tables.
bundle install
rake db:migrate
rake db:seed
Run the server
ruby script/server
Test the server
Launch the browser and http://localhost:3000
Reference