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.
#!/usr/bin/env bash | |
python -m SimpleHTTPServer |
#!/bin/bash | |
ruby -run -e httpd -- --port=3000 . |
# use node v0.7.4 | |
nvm 0.7.4 | |
# create a gemset for a sample application. | |
rvm gemset create scaffold_test | |
rvm gemset use scaffold_test | |
# install rails | |
gem install rails |
Lokka installer.
bash -s stable < <(curl -s https://raw.github.com/gist/2193002/install.sh)
install_script_url : https://gist.github.com/2129714/install.sh
thumbnail_url : https://a248.e.akamai.net/assets.github.com/images/modules/header/logo_gist.png?1309219942
video_url
thumbnail: "http://dl.dropbox.com/u/964705/images/20120524_063850.png" | |
video: "http://www.youtube.com/watch?v=ApfmAw4c_V0" | |
test |
thumbnail: http://railscasts.com/assets/episodes/stills/346-wizard-forms-with-wicked.png | |
video: http://www.youtube.com/watch?v=iak6zSBZPvY |