List moved
Please use https://github.com/bf4/learning to fork and pull changes.
| namespace :unicorn do | |
| ## | |
| # Tasks | |
| desc "Start unicorn" | |
| task(:start) { | |
| config = rails_root + "config/unicorn.rb" | |
| sh "bundle exec unicorn --daemonize --config-file #{config}" | |
| } |
List moved
Please use https://github.com/bf4/learning to fork and pull changes.
Below are the actual files we use in one of our latest production applications at Agora Games to achieve zero downtime deploys with unicorn. You've probably already read the GitHub blog post on Unicorn and would like to try zero downtime deploys for your application. I hope these files and notes help. I am happy to update these files or these notes if there are comments/questions. YMMV (of course).
Other application notes:
Salient points for each file:
| SELECT * FROM %table_name% | |
| INNER JOIN (SELECT %field_name% FROM %table_name% | |
| GROUP BY %field_name% HAVING count(%id%) > 1) duplication ON %table_name%.%field_name% = duplication.%field_name% |
A list of Sketch plugins hosted at GitHub, in no particular order.