This repository contains the latest version of the online platform for manuscript analysis, which is being developed as part of the Liturgica Poloniae project for the Institute of Art of the Polish Academy of Sciences (Instytut Sztuki Polskiej Akademii Nauk). The base for the development is the code of the platform, which was previously developed as part of the eCLLA+ project ( https://github.com/TutajITeraz/eCLLA_Plus/ )
The project aims to create an interactive catalog of Latin liturgical manuscripts available via the website. This catalog will contain a general description of the manuscript, its bibliography, and will also enable the introduction of information about its contents regarding many different disciplines (rites, formulas, liturgy, codicology, musicology, decoration, paleography and others).
- Integratet IIIF viewer
- Integrated AI Assistant (via DUBO)
- Zotero Bibliography integration
- .csv data import with checks and foreign keys lookup
- XML TEI export (basic data only)
- Export to print
sudo pacman -Syu
sudo pacman -S mariadb
sudo apt update
sudo apt install mariadb-server
sudo mysql_secure_installation
sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
sudo systemctl enable mariadb --now
sudo mysql -u root
CREATE DATABASE ritus;
CREATE USER ritus_user@localhost IDENTIFIED BY 'SoftCatEarZ1563!';
GRANT ALL PRIVILEGES ON ritus.* TO ritus_user@localhost ;
FLUSH PRIVILEGES;
exit
Edit the ritus_indexer/settings.py:
Add your host to the variables:
ALLOWED_HOSTS
CSRF_TRUSTED_ORIGINS
CORS_ALLOWED_ORIGINS
Edit username and password for the database:
DATABASES
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'CONN_MAX_AGE': 0,
'NAME': 'ritus',
'USER': 'ritus_user',
'PASSWORD': 'SoftCatEarZ1563!',
'HOST': '127.0.0.1',
}
}
#Check pip version:
pip --version
#If pip is not installed, install it:
#Manjaro linux command:
pacman -Syu python-pip
#Ubuntu linux command:
sudo apt install Python3-pip
#Install pkg-config (Ubuntu):
sudo apt install pkg-config
#Install pkg-config (Manjaro):
sudo pamac install pkg-config
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
#For a fresh install (no database migration) execute the following operations:
rm indexerapp/migrations/*
python manage.py makemigrations indexerapp
python manage.py migrate
python manage.py createsuperuser #This creates first user that you can use for log in
#For importing existing .sql file (moving database), change filename/path if needed and execute:
sudo mysql -u root -h localhost -p ritus < ~/Downloads/reboldho_indexer.sql
#Setup static files (may be served using nginex apache or other server):
python manage.py collectstatic
export DUBO_API_KEY="pk.bb63cda35d47463fb858192bee22510f"
python manage.py runserver 0.0.0.0:8080
source .venv/bin/activate
sudo systemctl enable mariadb --now
python manage.py runserver 0.0.0.0:8080