From d94384861c011df3068e15b2b2e838c991c15810 Mon Sep 17 00:00:00 2001 From: Cyril Mougel Date: Wed, 28 Aug 2013 22:24:54 +0200 Subject: [PATCH] Add information about create indexes in README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ae4dac..67aec70 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Deploying: * Setup server and deploy ```bash -cap deploy:setup deploy +cap deploy:setup deploy db:create_mongoid_indexes ``` (Note: The capistrano deploy script will automatically generate a unique secret token.) @@ -168,10 +168,12 @@ heroku config:add ERRBIT_EMAIL_FROM=example@example.com git push heroku master ``` - * Seed the DB (_NOTE_: No bootstrap task is used on Heroku!) + * Seed the DB (_NOTE_: No bootstrap task is used on Heroku!) and + create index ```bash heroku run rake db:seed +heroku run rake db:mongoid:create_indexes ``` * If you are using a free database on Heroku, you may want to periodically clear resolved errors to free up space. -- libgit2 0.21.2