&tag(readerd);
*目次 [#hbfc294e]
#contents
*関連ページ [#z9ac0727]
*参考情報 [#t9c6a2f3]
-[[daigoro-rc/readerd:https://github.com/daigoro-rc/readerd]]

*インストール [#d30bd693]
-以下の手順で行う
#pre{{
 git clone https://github.com/daigoro-rc/readerd.git
 bundle install --path vendor/bundler
 bundle exec rake generate_secret_token:generate
}}
-config/database.ymlを編集。ユーザーとパスワードを適当に変更。
-データベースの生成。createdbできるユーザーなら以下のコマンドで。できないなら手動でデータベース生成しておく。
 bundle exec rake db:create:all
-migration実行。CreateCategoriesが重複しているエラーが表示されたので一つにまとめた。
 bundle exec rake db:migrate
-サーバー実行。unicorn.rbを編集してパスを書き換えておく。
 bundle exec unicorn_rails -c config/unicorn.rb -E production -D -p 3000


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS