Last modified 3 years ago
インストール
- RanaPrunusのダウンロード
- データベースの作成 (ex: rana)
# mysql -u root mysql> create database rana; mysql> grant all on rana.* to 'rana_user'@'localhost';
- config/database.yml の設定
# cd $RANA_HOME # cp config/database.example.yml config/database.yml # vim config/database.yml # more config/database.yml production: adapter: mysql database: rana username: rana_user password: ******* host: localhost encoding: utf8
- テーブルの作成
# rake db:migrate RAILS_ENV="production"
- サーバの起動
# ruby script/server -e production
