-
Notifications
You must be signed in to change notification settings - Fork 7
HOWTO: Local installation
I assume you already have ruby 1.9 and rubygems.
Terminal.app on OS X, Command prompt on Windows and a myriad of application on Linux.
Download it from http://www.mongodb.org/display/DOCS/Quickstart.
Run it from a terminal with mongod
.
Download git from http://git-scm.com/ and install it.
Go to a directory of your choice (inside it we will create a new directory for D&D on Rails).
Run git clone https://vrinek@github.com/vrinek/Dungeons-and-Dragons-on-Rails.git
to download the application to a new directory named Dungeons-and-Dragons-on-Rails.
Install bundler with gem install bundler
.
Run rbenv rehash
to update the executables (optional for rbenv).
Run bundle install
to get all gems necessary to run the application.
Run bundle exec rspec spec
to make sure everything works fine (green is good, red is bad).
Start the server with bundle exec rails server
.
Point your browser to http://localhost:3000 and you should be seeing something like http://dnd-onrails-demo.herokuapp.com/.