読者です 読者をやめる 読者になる 読者になる

持ってきたskip-noteを動かしてみます。

  • bash-3.2$ cp config/database.yml.sample config/database.yml
  • bash-3.2$ emacs config/database.yml
development:
  adapter: mysql
  database: skip_note_development2
  host: localhost
  username: root
  password:
  encoding: utf8

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: mysql
  database: skip_note
  host: localhost
  username: root
  password:
  encoding: utf8
  • bash-3.2$ rake db:migrate
  • bash-3.2$ ./script/server

簡単ですなぁ。。。