d9site: A Drupal theme and installation profile

d9site is a Drupal base theme and installation profile that make deploying a responsive, feature-rich Drupal website easy to setup and use and extend.

Access our git repository

Installing a d9site

Prerequisites

  • Apache webserver, php 8.1+, MySQL Server
  • Edit hosts file (usually /etc/hosts) to reroute your development domain to your local machine
  • Edit Apache vhosts file to tell Apache where your site files will be

The quickest way

# first, navigate to your dev environments web folder for example

cd /Volumes/WebServer/Documents/dev/

# this command will install the d9site, installation profile and base theme and  
# a module for creating custom text content on your pages. Make sure to replace 
# "dev.mynewsite.com1" with your desired web directory name

git clone https://bitbucket.org/dgcommits/d9site_install.git dev.mynewsite.com1

# change to the new directory for example

cd dev.mynewsite.com1

# initialize download of each of the submodules

git submodule update --init --recursive

# install the necessary contributed modules based on the composer.json

composer install

Important, you must edit the file in /web/sites/default/settings.local.php before proceeding, see the next step

Find this section at the top of /web/sites/default/settings.local.php and change the 'database' 'username' and 'password' to match the local database you have set up.

<?php
$databases['default']['default'] = array (
  'database' => 'dev_mynewsite_com1',
  'username' => 'dbuser',
  'password' => 'dbpass',
  'prefix' => '',
  'host' => 'localhost',
  'port' => '3306',
  'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
  'driver' => 'mysql',
);

Installing drupal

drush site:install d9site_base --account-name=administrator --account-pass=userpass
Offering custom Drupal website and theme development. With our in-house base theme and installable custom block types, setting up your own Drupal 8+ site is a snap!