 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
DZone.com: Deploying PHP Projects with Webistrano
by Chris Cornutt November 02, 2012 @ 09:46:51
On DZone.com there's a recent article posted by Kasia Gogolek that walks you through the deployment of a web application with the Webistrano tool, a web UI for working with Capistrano. This follows the first article where they talk about the Webistrano installation.
Most of the applications I write, are PHP based, so all of my examples will be based on that assumption, but you can re-use the ideas mentioned for software written in any other programming language. The setup [in the example] discusses just the deployment to the test project. Deployment to the production will be similar, and by the end of the article, you should understand what differences it will require.
She walks you through the creation of a new project, an example of the contents of the "base.rb" configuration file and how to create the stages (environments) to deploy to. Next up is the "recipes" themselves - the configuration steps for the deployment process. In their examples they show how to set permissions, update a database, manage asset files and a bit more to get Plesk installed on a server.
voice your opinion now!
webistrano capistrano deployment tutorial web ui recipe
Dave Gardner's Blog: PHP Deployment with Capistrano
by Chris Cornutt February 15, 2012 @ 12:11:10
Dave Gardner has put together a guide to deploying PHP applications with the help of Capistrano, a Ruby-based deployment tool (including some example "recipes").
Capistrano is written in Ruby and offers up a basic DSL from which you can craft quite flexible deployment scripts. [...] That said, it's very flexible. In my current setup I have it deploying to multiple environments (dev, staging, production), building code (think Phing), running tests on the servers before finalising the deploy and then restarting worker processes on completion.
He starts by introducing some of the commands that you can perform with the "cap" command line client and links to an example PHP project structure you cn base your deployment off of. He also includes a bit about multi-stage deployments, tag (version) selection and the full source of his build script.
voice your opinion now!
capistrano introduction deployment ruby tool
Theme.fm: Deploying WordPress with Capistrano
by Chris Cornutt August 25, 2011 @ 12:14:18
In this recent post to Theme.fm they have a guide to deploying your WordPress site (or really any sort of PHP-driven site) with Capistrano. There's some WordPress specific bits in there, but it's a good overall guide to deployment with this handy tool.
I'm not a Capistrano expert (yet) and in this post I'll try to give you an overview how to set it up and how to deploy WordPress applications (websites) in seconds. We'll work with only one server today but the principles in deploying to two or more are pretty much the same.
He starts by introducing Capistrano and talking about some of the major benefits it can bring to you and your project (most importantly - simple deployments). The tutorial helps you install Capistrano and get it set up to work with your Github repository to pull the source. The WordPress specific bit has to do with configuration files and suggests an "if" check to see if there's local config first. Also included are the updates you'll need to make to the Capistrano config file and the commands to push the latest as well as rollback to your previous version.
voice your opinion now!
deployment capistrano wordpress tutorial configuration
Knp Labs: Deploy Your Symfony Application Painlessly with Capifony
by Chris Cornutt June 22, 2011 @ 12:03:32
On the Knp Labs site there's a recent post showing you how to use Capifony (a tool designed for use with Symfony projects) to deploy your Symfony-based applications in a few easy steps.
Deploying should be an active part of your development process, but not something that gives you a headache. If deploying your entire application takes more than one command or doesn't put a smile on your face, you should keep reading. NOTE: This post will specifically cover how to deploy your Symfony2 application, but the library used here - capifony - is just as useful for deploying a symfony 1.x application.
He walks you through the simple five step process of installing and configuring the capifony tool to pull from a remote git repository, set up some shared directories and update the vendor libraries on deployment. A few more changes for the initial deployment and you'll be ready to call "cap deploy" any time you'd like to push the latest version of your application. He also points out that with version 2.0.9 and above of capifony, Doctrine database migrations are also supported. For more information on capifony, see the project's website.
voice your opinion now!
capifony symfony deployment capistrano ruby tutorial
The Bakery: Deploying CakePHP with Capistrano
by Chris Cornutt April 23, 2010 @ 09:49:00
On The Bakery (for CakePHP) there's a new tutorial showing how to use the Capistrano deployment tool to push out the latest versions of your CakePHP applications.
I was looking for a good deployment solution for my CakePHP apps and as nothing seems to fit perfectly, Capistrano does a very good job at keeping it simple. My setup is using a Git repository but almost SCM all supported by cap. Here is a basic guide into Capistrano setup configuration for CakePHP.
Once you get past some of the basics, they walk you through the configuration options, environment options and the full scripts to perform the deployment.
voice your opinion now!
cakephp framework deployment capistrano
Chris Hartjes' Blog: You Asked For It Chris' Awesome But Short Guide To Deployment Using Phing
by Chris Cornutt April 15, 2010 @ 09:43:33
Chris Hartjes has posted a "short guide" to deployment using phing, a PHP-based compilation and deployment tool.
While Capistrano is certainly up to the task of deploying my own personal projects, I had nothing but problems getting people OTHER than myself to get it up and running. You wouldn't think that getting Ruby and then assorted gems installed on a non-Windows machine would be that hard. Apparently it is. So what was my alternate solution? Create something that can be run on the server where the code is going to be deployed.
He creates a process similar to the Capistrano methods that uses a symlink to switch from an older version of the code to a newer one. He shares the configuration files he used to check out the latest source - all XML based.
voice your opinion now!
phing deployment guide capistrano xml
Vid Luther's Blog: Managing Wordpress and other PHP projects with Ruby
by Chris Cornutt January 12, 2010 @ 08:46:35
New on his blog today Vid Luther talks about deploying WordPress using Ruby (specifically Capistrano) to manage the build and deployment of you web applications.
One of the best deployment systems out there (imho), is by the Ruby community, and it's called Capistrano. We've been using it internally since this summer to manage and deploy our Symfony application with great success. I'll be sharing the methodology to "Capify" a Symfony project soon, but first I wanted to share the Wordpress-Capistrano project.
The project's currently hosted on github where you can download it and try it out for yourself. Most of his recopies should be commented out but be sure to check before running any sort of deployment.
voice your opinion now!
wordpress deployment build capistrano
Dylan Tack's Blog: Deployment with Capistrano (Drupal)
by Chris Cornutt November 11, 2009 @ 12:47:53
Dylan Tack has posted the first and second parts of a series looking at deploying applications (in his case, a Drupal installation) with the Capistrano automation tool.
I'm a big fan of having an automated deployment process. It's really the web development analog to the "one step build process", as described in the Joel Test. In the past I have used various shell scripts to perform this task, but I have recently become a convert to Capistrano (or "cap" for short). With Capistrano, uploading your code to the test server is as simple as typing cap deploy. When you're ready to launch in production, it's just cap production deploy.
In part one he sets up his Capistrano configuration with his deploy.rb, development.rb and capfile configuration files. In the second part he integrates Drush, a multisite deployment and a multistage process.
voice your opinion now!
capistrano deployment drupal tutorial
Till's Blog: Managing software deployments of your PHP applications II
by Chris Cornutt September 10, 2009 @ 11:21:29
In this new post to his blog today Till continues his look at deploying PHP applications with various tools. This time his focus is on Capistrano.
In Part I, I talked about my approach to deploying a website and I offered pear and subversion as solutions to the problem. To briefly elaborate on my subversion part, I want to share the following Capistrano recipe with you.
He shows how to set up a sample "capfile" with the commands to perform for his deployment - checking out a release and, using a symlink to change the location, deploy the latest version of the site. He briefly mentions some chaining the tool allows.
voice your opinion now!
deploy capistrano capfile
|
Community Events
Don't see your event here? Let us know!
|