Skip to content

itk-dev/ai-screening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme for AI Screening

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
Loading

Site installation

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).

Fixtures

To add fixtures to the site two tasks are provided.

! IMPORTANT

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.

Updating the site

Run

task site-update

to update the site.

Access 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)

Acces the admin

task drush -- user:login

Drupal config

Export config created from drupal:

task drush -- config:export

Import config from config files:

task drush -- config:import

Coding standards

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)

Site theme

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

Development

See Development for details on development.

Production deployment

See Production for details on production deployment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •