Skip to content

rubymen/km

Repository files navigation

KM

Coverage Status

Bootstrap app

cd config && cp database.yml{.sample,} && cd -
git submodule init && git submodule update

Regenerate database

rake db:drop; rake db:create; rake db:migrate; rake db:populate

Rebuild ElasticSearch

rake searchkick:reindex CLASS=Document; rake searchkick:reindex CLASS=User

Deploy

cap deploy:setup
cap uploads:setup
cap deploy

Note: you can prefix function by environment (usually, production or staging)