4 <title>Ruby on Rails: Welcome aboard</title>
5 <style type="text/css" media="screen">
10 background-color: #f0f0f0;
11 font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
23 background-color: #03c;
25 text-decoration: none;
30 background-color: #f0f0f0;
39 background-color: white;
40 border: 3px solid #aaa;
56 #header, #about, #getting-started {
63 background-image: url("images/rails.png");
64 background-repeat: no-repeat;
65 background-position: top left;
68 #header h1, #header h2 {margin: 0}
83 background-color: #ffd;
84 border: 1px solid #fc0;
88 #about-content table {
92 border-collapse: collapse;
99 #about-content td.name {color: #555}
100 #about-content td.value {color: #000}
104 list-style-type: none;
107 #about-content.failure {
108 background-color: #fcc;
109 border: 1px solid #f00;
111 #about-content.failure p {
118 border-top: 1px solid #ccc;
122 #getting-started h1 {
126 #getting-started h2 {
133 #getting-started ol {
137 #getting-started li {
142 #getting-started li h2 {
148 #getting-started li p {
161 padding-bottom: 10px;
162 border-bottom: 1px solid #ccc;
165 list-style-type: none;
167 #sidebar ul.links li {
172 <script type="text/javascript">
174 info = document.getElementById('about-content');
175 if (window.XMLHttpRequest)
176 { xhr = new XMLHttpRequest(); }
178 { xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
179 xhr.open("GET","rails/info/properties",false);
181 info.innerHTML = xhr.responseText;
182 info.style.display = 'block'
189 <ul id="sidebar-items">
191 <h3>Browse the documentation</h3>
193 <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
194 <li><a href="http://stdlib.rubyonrails.org/">Ruby standard library</a></li>
195 <li><a href="http://corelib.rubyonrails.org/">Ruby core</a></li>
196 <li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
204 <h1>Welcome aboard</h1>
205 <h2>You’re riding Ruby on Rails!</h2>
209 <h3><a href="rails/info/properties" onclick="about(); return false">About your application’s environment</a></h3>
210 <div id="about-content" style="display: none"></div>
213 <div id="getting-started">
214 <h1>Getting started</h1>
215 <h2>Here’s how to get rolling:</h2>
219 <h2>Use <code>rails generate</code> to create your models and controllers</h2>
220 <p>To see all available options, run it without parameters.</p>
224 <h2>Set up a default route and remove or rename this file</h2>
225 <p>Routes are set up in config/routes.rb.</p>
229 <h2>Create your database</h2>
230 <p>Run <code>rake db:migrate</code> to create your database. If you're not using SQLite (the default), edit <code>config/database.yml</code> with your username and password.</p>
236 <div id="footer"> </div>