drupal

Deploy Drupal sites to remote server with GIT and Capistrano

Follow the instructions here for creating users on source server:

http://mattrude.com/2009/07/creating-a-secure-git-repository-server/

(ignore the rest of instructions on that blog post)

Capistrano set up will then be the same as http://socialsynergyweb.org/network/blog/building-capistrano-recipe-rail...

example:

Running git commands, etc

capfile would run http://en.wikipedia.org/wiki/Secure_copy command from destination to secure copy over db dump.

Creating an internal link to edit a user's profile in Drupal 6

This is how it's done:

<?php
global $user;
if ($user->uid) {
print '<a href="user/' .$user->uid. '/edit">Fill in my directory profile</a>';
}
?>

Just choose PHP Filter from input filters. This can be placed anywhere

Building a capistrano recipe into a rails2 application, to deploy Drupal clone sites (or other cloned web applications)

I needed to build a way to deploy Drupal sites to support a limited hosting application for http://socialmediaclassroom.com project.

I decided to build an application using http://www.capify.org/ (Capistrano). I thought about developing this in http://drupal.org/project/drush. However, time constraints dictated otherwise.

I ended up working on this with partner Paul B. Hartzog. Here is what we did:

Syndicate content (C01 _th3me_)