# Extract plaintext from library PDF files. These texts are used in the library pages. cp -R pdf pdf_to_text cd pdf_to_text for file in *.pdf; do pdftotext -layout "$file"; done rm -f *.pdf # Database The tools used here are available for download at . Just download "apache-jena-.tar.gz" and "apache-jena-fuseki-.tar.gz" Databases can be created with: # Increase Java heap size # If there's not enough RAM, try with a different loader, such as --loader=basic export JVM_ARGS=-Xmx16G tdb2.tdbloader --loc=database_name *.nt Place all the databases into the folder "fuseki_base/databases/". Now to start the server, just run the systemd service file "fuseki.service" available in this repository. Don't forget to edit both "fuseki.service" and "fuseki_base/configuration/dokk.ttl" for configuring paths or other custom settings. # Run website: python3 -m venv venv source venv/bin/activate pip install -r requirements.txt gunicorn --reload --worker-connections=4 --threads=4 --bind 0.0.0.0:8080 --error-logfile=- app:application