This script enables you to launch your Rails application in production environment (port:80) with Nginx and Unicorn.
Please make sure that your Gemfile in your rails application includes unicorn.
# First, enable "Listen for incoming notifications" | |
# in Growl preferences and set a password | |
# You might want to use this in an initializer | |
growl = Growl::GNTP.new 'ip_of_your_mac', 'App name' | |
growl.password = 'your_password' | |
# growl.add_notification 'name' | |
# growl.notify 'name', 'title', 'message' |