Skip to content
Yuichi Takeuchi edited this page Dec 5, 2016 · 19 revisions

Welcome to the gitfab2 wiki!

DB

確認

bundle exec ridgepole -c config/database.yml -E development  --apply --dry-run -f db/schemas/Schemafile --enable-foreigner

適用

bundle exec ridgepole -c config/database.yml -E development --apply -f db/schemas/Schemafile --enable-foreigner

テスト用

bundle exec ridgepole -c config/database.yml -E test --apply -f db/schemas/Schemafile --enable-foreigner

Solr

sunspot_rails gem

bundle exec rake sunspot:solr:start

Sunspot::Solr::Server::JavaMissing: You need a Java Runtime Environment to run the Solr server

yum -y install java-1.7.0-openjdk.x86_64
Clone this wiki locally