Skip to content

Commit

Permalink
Change the Setup Varbase AI optional recipe to work without the need …
Browse files Browse the repository at this point in the history
…for the Varbase AI module #2
  • Loading branch information
Natshah committed Apr 15, 2024
1 parent c564aca commit 940b159
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ A Drupal recipe to setup default Varbase AI needed modules, import configs and g

Add the recipe using composer:
```
composer require vardot/setup-varbase-ai
composer require vardot/setup-varbase-ai:~1.0
```

Change directory to `/web` or `/docroot`

Run the Drupal recipe bash script:
```
php core/scripts/drupal recipe recipes/contrib/setup-varbase-ai
```
or
```
php core/scripts/drupal recipe ../vendor/vardot/setup-varbase-ai
```
6 changes: 0 additions & 6 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,14 @@ config:
ai_interpolator: '*'
ai_interpolator_openai: '*'
user.role.site_admin:
ensure_exists:
label: 'Site Admin'
grantPermissions:
- 'access openai content tools'
- 'use openai ckeditor'
user.role.content_admin:
ensure_exists:
label: 'Content Admin'
grantPermissions:
- 'access openai content tools'
- 'use openai ckeditor'
user.role.editor:
ensure_exists:
label: 'Editor'
grantPermissions:
- 'access openai content tools'
- 'use openai ckeditor'

0 comments on commit 940b159

Please sign in to comment.