Getting started

Here’s how to get rolling:

  1. Use script/generate to create your models and controllers

    To see all available options, run it without parameters.

  2. Set up a default route and remove or rename this file

    Routes are set up in config/routes.rb.

  3. Create your database

    If your application was created with the Cpanel Rails utility then your application has been set up to use MySQL as it's database backend. Make sure that you create a database for it to use inside of your CPanel and then edit config/database.yml with your username and password. By default Rails uses SQLite. If you are using the default Rails configuration then you will need to run rake db:migrate to create your database.