Category: Drupal

  • Installing Drupal

    Assumptions These directions assume that you already have ssh access to a server with a LAMP stack, that you have installed Composer and that you are comfortable working on the command line. Create a new database and grant user privileges Do mysql -u USER -p to get to the mysql prompt. Replace USER with your […]

  • Migrating the Digital Latin Library from Drupal 7 to Drupal 9

    Birds migratin

    Background I manage several sites that have been running on Drupal 7. For a variety of reasons, I finally decided that it was time to upgrade them to Drupal 9. I wanted to bypass Drupal 8 altogether, since its end-of-life is coming up in November 2021. Previously, the upgrade path required a detour through D8, […]

  • The settings.php file for Drupal 9

    Screen shot of settings.php file

    Here are some few useful tidbits I’ve learned about the settings.php file in my adventures with Drupal 8 and 9. All of this assumes that you are working on the command line and that your user is in the sudoers group. First Steps It’s best to do the following things first: Set up the files […]

  • .gitignore for Drupal

    Banner from git site

    I have been doing a lot of work with Drupal sites lately, so I thought it would be helpful to share a .gitignore file that seems to do a good job of keeping my Git repositories free of sensitive information (e.g., the settings.php file!) and clutter. My friend Todd Woofenden sent this to me, but […]