Ruby Rail First Step
Revision as of 19:02, 13 November 2014 by Nicolas Rollin (talk | contribs) (Created page with "#### If you want to use MySQL <pre>rails new firstapp -d mysql</pre> # Move into the application directory cd firstapp # If you setup MySQL or Postgres with a username/pass...")
- If you want to use MySQL
rails new firstapp -d mysql
- Move into the application directory
cd firstapp
- If you setup MySQL or Postgres with a username/password, modify the
- config/database.yml file to contain the username/password that you specified
- Create the database
rake db:create
rails server