Windows
I recommend downloading magicdb-win. This version comes with Instant Rails and is quite easy to install.
Once you have downloaded the file :
- extract it to any directory without any space character. I suggest
C:\magicdb\ - start instant rails by clicking on the I-shaped icon in
C:\magicdb\InstantRails\ - if you are asked whether to update configuration files, answer yes
- click on the I in the top left hand corner of the application and select Rails Applications > Manage Rails Applications...
- click on the checkbox next to
magicdband then click on Start with Mongrel - a terminal will open, don't close it as it runs the application. You can now browse
magicdbonhttp://localhost:3000/ - when you're done you can close the terminal and InstantRails
When you want to start the application again, you will need to repeat the steps above, except the first one of course.
Should you ever want to uninstall magicdb, you just need to delete C:\magicdb\.
Linux
After downloading the source (magicdb-src) you will need to :
- install
rubyandrake - install a database server (like
mysql-server) - create a database called
magicdb - run a
rake db:migrate RAILS_ENV=prodution - start the server with
./script/server - open your browser to
http://localhost:3000/
You might want to setup mongrel and apache instead of using the WEBrick server.