Skip to content

Instantly share code, notes, and snippets.

@amitvaria
amitvaria / deploy.rb
Created March 30, 2013 18:28
Sample Capistrano deploy.rb for Cakephp deployment to QA and Production.
# Modified from http://mark-story.com/posts/view/deploying-a-cakephp-site-with-capistrano
# Application Name
set :application, "APPLICATION_NAME"
# Type of repository (default is svn)
set :scm, :git
# Name of of git repository
set :repository, "GIT_REPOSITORY"
# Method of deployment (TODO: add more clarify around options)
set :deploy_via, :remote_cache
#!/bin/bash
###
#
# forked from https://gist.github.com/1264701/08f93534ba177f173b9382b53c419cd0de5b07ea
# Copyright (c) 2011 Cake Development Corporation (http://cakedc.com)
#
# Ubuntu 11.04 based web server installation script
# Run this by executing the following from a fresh install of Ubuntu 11.04 server:
#