Ruby Rail First Step

From Objectif Client Inc
Revision as of 19:13, 13 November 2014 by Nicolas Rollin (talk | contribs)
Jump to navigation Jump to search
  • Your first application with MySQL
rails new firstapp -d mysql
  1. Move into the application directory
cd firstapp
  1. If you setup MySQL or Postgres with a username/password, modify the
  2. config/database.yml file to contain the username/password that you specified
  1. Create the database
rake db:create
  1. Start the server
rails server
  1. Visite the web site

[1]