A Project has one or more Tracks each of which in turn has one or more Tools:
---
title: AI Screening classes
---
classDiagram
Tool --> Track
Track --> Project
class Project {
%% string title
}
Tool --> WebformSubmission
Run the following commands to set up the site a new. This will start containers and run composer install, add a settings.php file and run site-install.
task site-install
When the installation is completed, that admin user is created and the password for logging in the outputted. If you
forget the password, use drush user:login
command to get a one-time-login URL (note: the URI here only works if
you are using Traefik and ITK-dev docker setup).
To add fixtures to the site two tasks are provided.
Applying fixtures will delete all existing content on the site
task apply-fixtures
Fixtures are grouped to allow only for certain fixtures to be loaded. The "base" group holds only a minimum of content fixtures for the base functionality of the site to work out of the box. Other fixtures add example content.
task apply-fixtures -- --groups=base,user
task drush -- user:login
See ai_screening/README.md for more settings.
Run
task site-update
to update the site.
If you are using out itkdev-docker-compose
simple use the command below to åbne the site in you default browser.
open $(task site-url)
task drush -- user:login
Export config created from drupal:
task drush -- config:export
Import config from config files:
task drush -- config:import
task compose -- exec phpfpm composer install
task compose -- exec phpfpm composer normalize
docker compose exec phpfpm composer install
docker compose exec phpfpm composer coding-standards-apply/phpcs
docker compose exec phpfpm composer coding-standards-check/phpcs
docker compose exec phpfpm composer install
docker compose exec phpfpm composer coding-standards-apply/twig-cs-fixer
docker compose exec phpfpm composer coding-standards-check/twig-cs-fixer
docker compose exec phpfpm composer install
docker compose exec phpfpm composer code-analysis
docker run --platform linux/amd64 --rm --volume "$PWD:/md" peterdavehello/markdownlint markdownlint $(git ls-files *.md) --fix
docker run --platform linux/amd64 --rm --volume "$PWD:/md" peterdavehello/markdownlint markdownlint $(git ls-files *.md)
docker run --platform linux/amd64 --rm --volume "$PWD:/md" peterdavehello/markdownlint markdownlint $(git ls-files *.md) --fix
docker run --platform linux/amd64 --rm --volume "$PWD:/md" peterdavehello/markdownlint markdownlint $(git ls-files *.md)
task prettier
There is a custom frontend theme installed with common components based on tailwind. See web/themes/custom/itkdev/itkdev_base_theme/README.md for details on how to build and do development on the theme. TL;DR:
task theme-build
Build and watch for changes:
task theme-watch
See Development for details on development.
See Production for details on production deployment.