First, you have create database addressbook_development
$ rails new addressbook -d mysql
$ cd addressbook
$ vim Gemfile
gem 'therubyracer'
gem 'thin'
$ bundle install
$ rails generate scaffold address name:string address:string
$ vim config/database.yml
$ password: your_password
$ rails s
No comments:
Post a Comment