Hosting
This LocalGovDrupal site is hosted in Dreamhost; to install it I did the following:
- I created a MyProjectDirectory in the web root of my hosting,
- I created a new MySQL database in the Dreamhost MySQL control centre,
- I created my (sub)domain in my domain management centre (in Dreamhost, by creating a new website) and pointed it to the MyProjectDirectory,
- I SSHd into the Dreamhost server, which dropped me into the root folder for all my Dreamhost-hosted sites,
-
Into the command line I typed
composer create-project drupal/recommended-project:^10 MyProjectDirectory
which installs the most recent core version of Drupal 10; Drupal 10 being the current recommended version for LocalGovDrupal, and ProjectDirectory being the folder on the server's filesystem I wanted to install the site into
-
Then I type
cd MyProjectDirectory
-
Next I edited the composer.json file for the stability to be
minimum-stability:dev
(the next step was consistently failing before I did this)
-
Finally in the command line I typed
composer require localgovdrupal/localgov
which brought in the specific LocalGovDrupal modules and theme.
- After that I navigated to the site in my browser to complete the Drupal installation, selecting the LocalGovDrupal profile on the list of profiles, configuring everything else (including the MySQL connexion settings - remember on Dreamhost to open Advanced options and replace localhost with your database server hostname) accordingly.
- And finally once the installation was complete I started to enable the modules on the Extend menu item. I did this a few at a time, because the way Drupal can fail when pulling in dependencies whilst it's in the middle of something can be moderately annoying.
Dreamhost recommends using their VPS hosting rather than the basic hosting for Drupal, because the resource requirements are heftier than usual; at this point I'm trying to get away without doing that hosting upgrade, cos, cash, innit.
Site theme
The site's theme is based on the LocalGovDrupal demo Scarfolk theme, adapted for my own needs.
The colour scheme is taken from Stacey Barnfield's Draw My City Birmingham colour palettes:
- Canal Boat Navy
- Mr Egg Yellow
- Acocks Green
- The Bull Bronze
- Spitfire Camo
- Tikka Masala Red