Standard Drupal Installation

Update: All of this configuration is now available with my Drupal Template installations.

This is a list of the standard stuff I do when I initiate a new site.

Install drupal with drupalDeploy.sh

This sets everything else up for ease of future maintenance, etc.

Install standard contributed modules.

Again, using drupalDeploy.sh, install the standard modules I seem to install on all sites: admin_menu, advanced_help, ckeditor, imce, cck, views, pathauto (which requires token)

for mod in admin_menu advanced_help ckeditor imce cck views pathauto token; do
   drupalGitDeploy.sh -noconfirm install module $mod <site>
done

The CKEditor requries the library be installed:

drupalManageLibraries.sh install ckeditor <site>

Hit the site and enable all those modules.

Reset install directory permissions on new site

This will fix everything with the installation and the site settings file after installation.

drupalSetPerms.sh <site>

Set up target roles.

This needs to be done before setting up CKEditor.

Set up CKEditor/IMCE

Grant permissions to use the CKEditorto the target roles.

The CKEditor needs to be set to use IMCE for file uploads.

Set up input formats

The Full HTML format needs to be made the default and needs to have the linebreak evaluator unchecked as it doesn't agree w/ CKEditor created content.

 

Free Tag:

Comments

I am very new to Drupal. I usually download Drupal from my host but they do not have 6.15. I would rather learn how to do quick installs and updates on my own. What I am looking for is a step-by-step guide that actually shows what the commands are & where they are written i.e. in the terminal window etc. Can you recommend a site or book (I was hoping to wait for 7 before investing in a book) has this information. I am upgrading a brand new site that doesn't have any content yet so all I need to do is upgrade the version. Any help is appreciated Alan

Drupal does have a high learning curve -- but stick with it!  It's a powerful system that can make website development a much faster process than w/o it.

As far as a tutorial -- I've been meaning to write a tutorial on performing an installation using my Drupal Script Library.

Until I do, here's an abridged version:

  • Install the Drupal Script Library somewhere.  Add the directory to your path and make sure you call the 'bashrc_drupal.sh' file from your .bashrc file
  • Decide where your common Drupal webroot is, export the variable DRUPAL_INSTALL_ROOT as that directory. (This goes in your .bashrc file too.)
  • Install your site (here, we'll use 'example.net'):
    drupalCVSDeploy.sh install drupal example.net
  • Ensure that your webserver points to the directory '$DRUPAL_INSTALL_ROOT/example.net' for requests to the site 'example.net'.
  • Create a database for example.net -- you can use the drupalCreateDB.sh script for help.
  • Hit example.net and with a browser and configure the database connection.
  • Your site is now live!  To install additional modules, run drupalCVSDeploy.sh again for each module.

good luck.

I updated this entry to reflect changes that have come down the pipe.

  • drupalCVSDeploy.sh -> drupalGitDeploy.sh.  Read more in my post on converting the Drupal Script Library to use Git.
  • fckeditor (module) -> ckeditor -- Since ckeditor is the evolution of the fckeditor and I was making the previous change anyway.

 

Updated the deployment script again:
drupalGitDeploy.sh -> drupalDeploy.sh (and now uses Drush).  See post on converting the Drupal Script Library to use Drush.