bundle install --path vendor/bundle
RAILS_ENV=staging (or) production bundle exec rake db:migrate
RAILS_ENV=staging (or) production bundle exec rake assets:precompile
#sudo /etc/init.d/nginx stop
#sudo /etc/init.d/nginx start
sudo /etc/init.d/memcached restart
touch tmp/restart.txt
###########Using sunspot solr
RAILS_ENV=staging (or) production rake sunspot:solr:stop
RAILS_ENV=staging (or) production rake sunspot:solr:start
RAILS_ENV=staging (or) production rake sunspot:reindex
RAILS_ENV=staging (or) production bundle exec rake db:migrate
RAILS_ENV=staging (or) production bundle exec rake assets:precompile
#sudo /etc/init.d/nginx stop
#sudo /etc/init.d/nginx start
sudo /etc/init.d/memcached restart
touch tmp/restart.txt
###########Using sunspot solr
RAILS_ENV=staging (or) production rake sunspot:solr:stop
RAILS_ENV=staging (or) production rake sunspot:solr:start
RAILS_ENV=staging (or) production rake sunspot:reindex
Comments
Post a Comment