Posts

Showing posts from March, 2011

Drupal site deployment - deploy drupal 6 site from localhost to a hosting server

Deploying a drupal site to live is an easy process. But if you are doing this for the first time, like I recently did, it can be a frustrating experience. I deployed a drupal 6 site from my localhost to my hosting provider account. This was my first deployment in drupal and there were lots of stop and starts before I got the site working. I decided to record all the steps I followed to get the deployment working. Step-By-Step instruction on how to deploy a drupal site to live server STEP 1. PREPARE DATABASE Open your development drupal site and empty the cache(Administer>Site Configuration>Performance and click the 'Clear Cache Data' button). It is important to do this, it will cause you headache later on live if you leave it. Login to your Phpmyadmin (http://localhost/phpmyadmin) Select the development database (you can find the database name and credentials used by your drupal site on /sites/default/settings.php file) and click 'Export'. Make sure you select