imagex/swat-project-template

Minimal Drupal application based on the Drupal Recommended Project

1.0.0-alpha2 2025-04-25 20:30 UTC

This package is auto-updated.

Last update: 2025-04-25 20:37:27 UTC


README

This is a base template for use with SWAT, if you are unsure what that means, you probably don't need this repository ;)

A description of the project and it's deliverables here, along with the existing site URLS.

☁️ Hosting

Details about where the site is hosted and any special considerations.

Environments

EnvironmentBranchMain purposeDescription
QAfeature/XImageX QATugboat env, QA on PR's (optional).
DEVmasterImageX DEVContains code approved by Lead Dev.
STAGEstageClient UATContains code approved on DEV by QA.
PRODUCTIONprodContent entryCode and Database/Content that will be launched

🔥 DEVELOPMENT

Brief explanation of development special considerations.

Workflow

  1. Developer works on a feature branch created from master
  2. Developer create a Pull Request from feature-branch -> master
  3. ....
  4. ...
  5. ..
  6. .

Getting Started

List out the commands needed for a developer to start this project. (i.e. clone xx, fin init, etc)

Full remote sync

Run this command to sync the sanitized remote database, files, and configuration:

fin sync

🛠 Integrations and Custom Bits

Describe anything of note that a developer might find useful.

drush my:command --isgreat

🎨 Frontend

See FRONTEND.md for more information.

✅ Validation

Linters

fin yarn lint # Run code linters.
fin yarn lint:fix # Run code linters and automatically fix issues.

IMPORTANT: Validation errors prevent remote pushes and cause CI/CD pipelines failures.

Spellcheck

fin yarn spellcheck # Run spellcheck.
fin yarn spellcheck:dictionary # Generate new project dictionary words.

IMPORTANT: Generate project dictionary words only after running the spellchecker.