Skip to content

Commit

Permalink
Fix troubles discovered during setup (#2977)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmoeschinger authored Feb 14, 2025
1 parent eb94fc3 commit 5ba496b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions docs/docs/developers/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ You can create an admin user account by running:
docker compose exec hub php artisan edlib:create-admin-user <email>
```

To enable Content Author, you must add it as an LTI tool from the admin portal:

To enable Content Author, you must add it as an LTI tool from the admin portal. View [this page](../hosting/ca-setup.mdx#adding-content-author-to-the-hub) for more info:
* LTI version: `1.1`
* Launch URL: `https://ca.edlib.test/lti-content/create`
* Consumer key: `h5p`
Expand Down
1 change: 1 addition & 0 deletions sourcecode/apis/contentauthor/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ QUEUE_DRIVER=sync
#H5P_AUDIO_ADAPTER=ndla
#NDLA_H5P_AUDIO_URL=https://api.ndla.no

H5P_IS_HUB_ENABLED=true
H5P_SINGLE_CONTENT_UPGRADE=true
H5P_NDLA_CUSTOM_CSS=false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
>
<div class="panel panel-default">
<div class="panel-heading">
<h4>Local cache of content types available from h5.org</h4>
<h4>Local cache of content types available from h5p.org</h4>
</div>
@include('admin.library-upgrade.update-content-type-cache', ['activeTab' => 'tabContentTypes'])
</div>
Expand Down Expand Up @@ -113,7 +113,7 @@
>
<div class="panel panel-default">
<div class="panel-heading">
<h4>Local cache of content types available from h5.org</h4>
<h4>Local cache of content types available from h5p.org</h4>
</div>
@include('admin.library-upgrade.update-content-type-cache', ['activeTab' => 'tabInstall'])
</div>
Expand Down
2 changes: 1 addition & 1 deletion sourcecode/hub/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DB_CONNECTION=pgsql
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=hub
DB_USERNAME=root
DB_USERNAME=postgres
DB_PASSWORD=thepgpassword

BROADCAST_DRIVER=log
Expand Down

0 comments on commit 5ba496b

Please sign in to comment.