arteleku-drupal/README.md

82 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2022-10-19 23:36:57 +02:00
# Arteleku Drupal + Islandora
2022-10-21 18:13:48 +02:00
## Install Tomcat / Fedora Commons
2022-10-19 23:36:57 +02:00
## Copy Drupal files from your data_path
mkdir data
cp -R <data_path>/ data/
## Create Database directory
mkdir db
chown -R 1000:1000 db
2022-10-19 23:36:57 +02:00
## Build Custom Drupal Image
docker-compose build
2022-10-19 23:36:57 +02:00
## Configure environment
cp env.sample .env
vim .env
2022-10-19 23:36:57 +02:00
## Start services
docker-compose up -d
2022-10-19 23:36:57 +02:00
## Import Database
docker exec -i <container_id> mysql -u<mysql-user> -p<mysql-pass> <mysql-database> < database.dump.sql
## Config Drupal
2022-10-21 18:13:48 +02:00
```
/sites/default/
$databases = array (
....
database => 'name',
username => user
password => pass
host => host
)
$base_url = "http://myhost.drupal.net";
2022-10-21 18:13:48 +02:00
```
## Config Islandora
### Configure Solr
/es/user/3#overlay=es/admin/islandora/search/islandora_solr
Server: 172.17.0.1:8080/solr
## Fedora Commons v6
Access: http://docker:8886/fcrepo/rest/
### Migration
Fedora Export: https://wiki.lyrasis.org/display/FEDORA38/fedora-export
Example:
root@artxibo:/mnt/backup# /usr/local/fedora/client/bin/fedora-export.sh localhost:8080 fedoraAdmin passWord DMO info:fedora/fedora-system:FOXML-1.1 migrate /mnt/backup/ http
Migration 3->6 :
* https://wiki.lyrasis.org/display/FEDORA6x/Migrate+to+Fedora+6
* https://github.com/fcrepo-exts/migration-utils
2022-10-21 18:13:48 +02:00
## Links
2022-10-21 18:13:48 +02:00
https://docs.alfresco.com/search-services/latest/upgrade/migrate/
https://library.brown.edu/create/digitaltechnologies/upgrading-from-solr-4-to-solr-7/
https://github.com/fcrepo-exts/fcrepo-docker
https://hub.docker.com/_/postgres
https://islandora.github.io/documentation/installation/manual/introduction/
https://github.com/Islandora-Devops/isle-dc#introduction