Skip to content
Das digital.learning.lab ist ein Hamburger Kompetenzzentrum für die Unterrichtsgestaltung in digitalen Zeiten.
Python HTML Vue CSS JavaScript Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
dll
docker
solr
.dockerignore
.gitignore
.gitlab-ci.yml
Dockerfile
Dockerfile.build
Dockerfile.dev
Dockerfile.solr
LICENSE
README.md
babel.config.js
docker-compose.yaml
manage.py
package-lock.json
package.json
requirements.txt
webpack.config.js

README.md

Setup

  1. Run docker-compose up to setup project.
  2. Run docker-compose run --rm web python manage.py migrate
  3. Clone content repo (https://collaborating.tuhh.de/itbh/tnt/digital-learning-lab/inhalte)
  4. Run docker-compose run --rm web python manage.py import_content -f ./path-to-inhalte

Solr 8.2

Setup

Instruct solr to use the schema.xml file:

  • add <schemaFactory class="ClassicIndexSchemaFactory"/> in the solrconfig.xml
  • remove the AddSchemaFieldsUpdateProcessorFactory section from solrconfig.xml (source)

Update the schema

  • python manage.py build_solr_schema -f solr/conf/schema.xml

JSON Data fields

Content

from_import: 
  type: Bool
  descr: created during import

Review

contains the reviewer comments on the content fields

DllUser

from_import: 
  type: Bool
  descr: created during import
You can’t perform that action at this time.