Thin, es bueno pero realmente quiero que mis aplicaciones en heroku desplieguen y respondan mucho mas rapido, asi que una pequeña guia de como usar unicorn en heroku con padrino
Last active
December 20, 2015 01:49
-
-
Save angelbotto/6051549 to your computer and use it in GitHub Desktop.
Unicorn en Heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#agregar | |
gem 'unicorn' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#config/unicorn.rb | |
worker_processes 3 | |
timeout 30 | |
preload_app true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment