Skip to content

Commit

Permalink
newer instructions for installing mongoDB in README and tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuity committed Sep 20, 2010
1 parent ab8a8df commit 8d29c0f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 7 additions & 2 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ Check that appropriate versions of Ruby and Rails are installed in your developm

If you intend to deploy to "Heroku":http://heroku.com/, note that Heroku supports Ruby version 1.8.7 but not Ruby version 1.9.2 (as of 5 September 2010).

If you don't have MongoDB installed on your computer, you'll need to install it and set it up to be always running on your computer (run at launch). On the Mac OS X, the easiest way to install MongoDB is to install "Homebrew":http://mxcl.github.com/homebrew/ and then use this script to install and set up MongoDB:
"http://gist.github.com/265272":http://gist.github.com/265272.
If you don't have MongoDB installed on your computer, you'll need to install it and set it up to be always running on your computer (run at launch). On Mac OS X, the easiest way to install MongoDB is to install "Homebrew":http://mxcl.github.com/homebrew/ and then run the following:

<pre>
brew install mongo
sudo mkdir -p /data/db
sudo chmod -Rv 777 /data/
</pre>

h2. Generating the Application

Expand Down
9 changes: 6 additions & 3 deletions TUTORIAL.textile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ Check that appropriate versions of Ruby and Rails are installed in your developm

If you intend to deploy to "Heroku":http://heroku.com/, note that Heroku supports Ruby version 1.8.7 but not Ruby version 1.9.2 (as of 5 September 2010).

If you don't have MongoDB installed on your computer, you'll need to install it and set it up to be always running on your computer (run at launch). On the Mac OS X, the easiest way to install MongoDB is to install "Homebrew":http://mxcl.github.com/homebrew/ and then set up MongoDB:
If you don't have MongoDB installed on your computer, you'll need to install it and set it up to be always running on your computer (run at launch). On Mac OS X, the easiest way to install MongoDB is to install "Homebrew":http://mxcl.github.com/homebrew/ and then run the following:

@$ brew update@
@$ brew install mongodb@
<pre>
brew install mongo
sudo mkdir -p /data/db
sudo chmod -Rv 777 /data/
</pre>

h2. Create the Rails Application

Expand Down

0 comments on commit 8d29c0f

Please sign in to comment.