Skip to content
This repository
Browse code

Update documentation for Rails 3.

  • Loading branch information...
commit f5034a13319c3bef4999901b3c6888cab788c8b6 1 parent 8207c44
Igal Koshevoy igal authored

Showing 2 changed files with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +3 3 INSTALL.md
  2. +1 1  VAGRANT.md
6 INSTALL.md
Source Rendered
@@ -26,10 +26,10 @@ To run Calagator in `development` mode, which automatically reloads code as you
26 26
27 27 * Follow the **Setup** instructions above.
28 28 * Initialize your database, run `bundle exec rake db:migrate db:test:prepare`
29   - * Start the *Ruby on Rails* web application by running `./script/server` (UNIX) or `ruby script/server` (Windows).
  29 + * Start the *Ruby on Rails* web application by running `rails server` (UNIX) or `ruby script/rails /server` (Windows).
30 30 * Open a web browser to <http://localhost:3000/> to use the development server
31 31 * Read the [Rails Guides](http://guides.rubyonrails.org/) to learn how to develop a Ruby on Rails application.
32   - * When done, stop the *Ruby on Rails* server `script/server` by pressing `CTRL-C`.
  32 + * When done, stop the *Ruby on Rails* server (e.g. `rails server`) by pressing `CTRL-C`.
33 33
34 34
35 35 Production
@@ -41,7 +41,7 @@ To run Calagator in `production` mode, which runs more quickly, but doesn't relo
41 41 * Setup a firewall to protect ports used by your search engine, see the **Search engine** section for details.
42 42 * Initialize your database, run `bundle exec rake RAILS_ENV=production db:migrate`
43 43 * Run `bundle exec rake clear` to clear your cache after updating your application's code.
44   - * Setup a production web server using [Phusion Passenger](http://www.modrails.com/), [Thin](http://code.macournoyer.com/thin/), [Rainbows](http://rainbows.rubyforge.org/), etc. These will be able to serve more users more quickly than `script/server`.
  44 + * Setup a production web server using [Phusion Passenger](http://www.modrails.com/), [Thin](http://code.macournoyer.com/thin/), [Unicorn](http://unicorn.bogomips.org/), [Rainbows](http://rainbows.rubyforge.org/), etc. These will be able to serve more users more quickly than using the built-in server (e.g. `rails server`).
45 45
46 46 The Calagator.org site runs on [Ubuntu Linux](http://ubuntu.com/), [Phusion REE (Ruby Enterprise Edition)](http://rubyenterpriseedition.com/) and [Phusion Passenger](http://www.modrails.com/).
47 47
2  VAGRANT.md
Source Rendered
@@ -37,7 +37,7 @@ Use Vagrant by issuing the commands below. The `local%` and `virtual%` in the co
37 37 **Run** the application on the virtual machine, it will be accessible on [http://localhost:8000/](http://localhost:8000/):
38 38
39 39 local% vagrant ssh
40   - virtual% ./script/server
  40 + virtual% rails server
41 41
42 42 **Test** the application within the virtual machine:
43 43

0 comments on commit f5034a1

Please sign in to comment.
Something went wrong with that request. Please try again.