Standard Drupal Installation

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

Install drupal with drupalCVSDeploy.sh

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

Install standard contributed modules.

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

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

The FCKEditor requries the library be installed:

drupalManageFCKEditor.sh install <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 FCKEditor.

Set up FCKEditor/IMCE

Grant permissions to use the FCKEditorto the target roles.

The FCKEditor 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/ FCKEditor created content.

 

Comments

Installing Drupal Step-by-Step

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

learning curve

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.