diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-24 12:26:30 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-24 12:26:30 +0000 |
commit | 614e14d815a6134c3dd8898e483a6cae5dcd9a2f (patch) | |
tree | 4e8c8dcb8dd3c9bd3700a908dfedb1862b2137c7 /railties/html | |
parent | 9bf3b25ab7282320b38eb6fda98ce4623c187431 (diff) | |
download | rails-614e14d815a6134c3dd8898e483a6cae5dcd9a2f.tar.gz rails-614e14d815a6134c3dd8898e483a6cae5dcd9a2f.tar.bz2 rails-614e14d815a6134c3dd8898e483a6cae5dcd9a2f.zip |
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
Diffstat (limited to 'railties/html')
-rw-r--r-- | railties/html/index.html | 71 |
1 files changed, 70 insertions, 1 deletions
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 @@ -<html><head><META HTTP-EQUIV="Refresh" CONTENT="0;URL=_doc/index.html"></head></html>
\ No newline at end of file +<html> +<head> + <title>Rails: Welcome on board</title> + <style> + body { background-color: #fff; color: #333; } + + body, p, ol, ul, td { + font-family: verdana, arial, helvetica, sans-serif; + font-size: 12px; + line-height: 18px; + } + + li { + margin-bottom: 7px; + } + + pre { + background-color: #eee; + padding: 10px; + font-size: 11px; + } + + a { color: #000; } + a:visited { color: #666; } + a:hover { color: #fff; background-color:#000; } + </style> +</head> +<body> + +<h1>Congratulations, you've put Ruby on Rails!</h1> + +<p><b>Before you move on</b>, verify that the following conditions have been met:</p> + +<ol> + <li>The log directory and the empty log files must be writable to the web server (<code>chmod -R 666 log/*</code>). + <li> + The shebang line in the public/dispatch* files must reference your Ruby installation. <br/> + You might need to change it to <code>#!/usr/bin/env ruby</code> or point directly at the installation. + </li> + <li> + Rails on Apache needs to have the cgi handler and mod_rewrite enabled. <br/> + Somewhere in your httpd.conf, you should have:<br/> + <code>AddHandler cgi-script .cgi</code><br/> + <code>LoadModule rewrite_module libexec/httpd/mod_rewrite.so</code><br/> + <code>AddModule mod_rewrite.c</code> + </li> +</ol> + +<p>Take the following steps to get started:</p> + +<ol> + <li>Create empty development and test databases for your application.<br/> + <small>Recommendation: Use *_development and *_test names, such as basecamp_development and basecamp_test</small><br/> + <small>Warning: Don't point your test database at your development database, it'll destroy the latter on test runs!</small> + <li>Edit config/database.yml with your database settings. + <li>Create controllers and models using the generator in <code>script/generate</code> <br/> + <small>Help: Run the generator with no arguments for documentation</small> + <li>See all the tests run by running <code>rake</code>. + <li>Develop your Rails application! + <li>Setup Apache with <a href="http://www.fastcgi.com">FastCGI</a> (and <a href="http://raa.ruby-lang.org/list.rhtml?name=fcgi">Ruby bindings</a>), if you need better performance +</ol> + +<p> + Having problems getting up and running? First try debugging it yourself by looking at the log files. <br/> + Then try the friendly Rails community <a href="http://www.rubyonrails.org">on the web</a> or <a href="http://www.rubyonrails.org/show/IRC">on IRC</a> + (<a href="irc://irc.freenode.net/#rubyonrails">FreeNode#rubyonrails</a>). +</p> + +</body> +</html> |