From 614e14d815a6134c3dd8898e483a6cae5dcd9a2f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 24 Feb 2005 12:26:30 +0000 Subject: Drop the _doc nonsense and use the index.html straight on git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/html/index.html | 71 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) (limited to 'railties/html/index.html') diff --git a/railties/html/index.html b/railties/html/index.html index 4949c64a5a..0cc0ecf9d4 100644 --- a/railties/html/index.html +++ b/railties/html/index.html @@ -1 +1,70 @@ - \ No newline at end of file + + + Rails: Welcome on board + + + + +

Congratulations, you've put Ruby on Rails!

+ +

Before you move on, verify that the following conditions have been met:

+ +
    +
  1. The log directory and the empty log files must be writable to the web server (chmod -R 666 log/*). +
  2. + The shebang line in the public/dispatch* files must reference your Ruby installation.
    + You might need to change it to #!/usr/bin/env ruby or point directly at the installation. +
  3. +
  4. + Rails on Apache needs to have the cgi handler and mod_rewrite enabled.
    + Somewhere in your httpd.conf, you should have:
    + AddHandler cgi-script .cgi
    + LoadModule rewrite_module libexec/httpd/mod_rewrite.so
    + AddModule mod_rewrite.c +
  5. +
+ +

Take the following steps to get started:

+ +
    +
  1. Create empty development and test databases for your application.
    + Recommendation: Use *_development and *_test names, such as basecamp_development and basecamp_test
    + Warning: Don't point your test database at your development database, it'll destroy the latter on test runs! +
  2. Edit config/database.yml with your database settings. +
  3. Create controllers and models using the generator in script/generate
    + Help: Run the generator with no arguments for documentation +
  4. See all the tests run by running rake. +
  5. Develop your Rails application! +
  6. Setup Apache with FastCGI (and Ruby bindings), if you need better performance +
+ +

+ Having problems getting up and running? First try debugging it yourself by looking at the log files.
+ Then try the friendly Rails community on the web or on IRC + (FreeNode#rubyonrails). +

+ + + -- cgit v1.2.3