The ACE SDSSGryphon stack serves the Doerr School of Sustainability. This stack is based on the SU-SWS/ace-gryphon stack.
- Development Requirements
- Release and Deployment
- New Site Provision
- Retire Site
- Routine Maintenance
- Upgrading Drupal Core
- Testing
- Patching and patch management instructions
The primary theme for SDSS is the sdss_subtheme located in the sdss_profile. Theme assets can be compiled via composer in the root directory.
- Ensure you have the required Node version (see
.nvmrcin the project root). - Run
nvm usein your terminal (one time only per session). - Run
composer build-themeto compile theme assets.
This site uses Architecture Decision Records to record important technical decisions and the context surrounding them. ADR's can be found in docs/architecture/decisions. For more information see 0. Record architecture decisions.
(See below for Lando config)
BLT provides an automation layer for testing, building, and launching Drupal 8 applications. For ease when updating codebase it is recommended to use Drupal VM. If you prefer, you can use another tool such as Docker, DDEV, Docksal, Lando, (other) Vagrant, or your own custom LAMP stack, however support is very limited for these solutions.
-
Install Composer dependencies. After you have forked, cloned the project and setup your blt.yml file install Composer Dependencies. (Warning: this can take some time based on internet speeds.)
$ composer install -
Setup a local blt alias. If the blt alias is not available use this command outside and inside vagrant (one time only).
$ composer run-script blt-alias -
Set up local BLT Copy the file
blt/example.local.blt.ymland name itlocal.blt.yml. Populate all available information with your local configuration values. -
Setup Local settings After you have the
local.blt.ymlfile configured, set up the settings.php for you setup.$ blt blt:init:settings -
Get secret keys and settings SAML and other certificate files will be download for local use.
$ blt sws:keys
You can set up this stack as a complete development environment using nothing more than Docker and Lando.
- Install Lando (includes Docker Desktop)
- Acquia Cloud credentials in
~/.acquia/(for syncing databases) - SSH keys in
~/.ssh/(for Acquia access)
- Clone this repo and
cdinto it. - Copy the Lando config:
cp lando/default.lando.yml .lando.yml - Start Lando:
lando start - Create a database and sync:
lando create-db sustainability && lando sync sustainability - Visit
https://sustainability.sdss.lndo.site
See lando/README.md for full documentation including domain routing, available tooling commands, theme builds, and troubleshooting.
BLT uses a number of configuration (.yml or .json) files to define and customize behaviors. Some examples of these are:
blt/blt.yml(formerly blt/project.yml prior to BLT 9.x)blt/local.blt.yml(local only specific blt configuration)drush/sites(contains Drush aliases for this project)composer.json(includes required components, including Drupal Modules, for this project)