Skip to content

Instantly share code, notes, and snippets.

@lee
Created October 7, 2010 22:18
Show Gist options
  • Save lee/616021 to your computer and use it in GitHub Desktop.
Save lee/616021 to your computer and use it in GitHub Desktop.
[x] ey recipes upload -e CLOUD_ENV # upload the latest recipes, including the redis upgrade
[x] ey web disable -e CLOUD_ENV # take the site down
[x] ey rebuild -e CLOUD_ENV # run all of EYs recipes (installs a gem)
# and our custom recipes (install redis)
[x] sudo monit stop redis on redisslave # stop redis 1.2.2, use ps to ensure it has exited
[x] sudo monit stop redis on redismaster
[x] sudo monit start redis on redismaster # start redis 2.0.1. Use /data/redis/redis.log
[x] sudo monit start redis redisslave # to ensure it is ready to accept connections
[x] rake deploy:production # deploy master, this will bump the redis-rb client
# this will also restart the ruby processes that need to
# reconnect to redis
ey web enable -e CLOUD_ENV # bring the site up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment