A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Simon Bowie 18c75d7a73 Tidied index.php and added iframe for displaying PDF pages 3 роки тому
nginx Resolved issue with PHP files not displaying properly 3 роки тому
site Tidied index.php and added iframe for displaying PDF pages 3 роки тому
.gitignore Moved environment variables to config file 3 роки тому
LICENSE Added some comments and a license 3 роки тому
README.md Consolidated Docker config into repository 3 роки тому
config.env.template Added image retrieval from OPS API. Needs work. 3 роки тому
docker-compose.yml Resolved issue with PHP files not displaying properly 3 роки тому

README.md

Docker Compose and Docker files for deploying the development environment for the Politics of Patent case study site.

Deployed Solr for .rtf indexing using instructions at: https://github.com/docker-solr/docker-solr

Created core using:

docker exec -it solr solr create_core -c epo_data

Add files to Solr using:

docker run --rm -v "/Users/ad7588/Downloads/2018 (10381):/2018" --network=host solr:latest post -c epo_data /2018

Note this fix to ensure that .rtf files can be indexed using Apache Tika: https://gitmemory.com/issue/docker-solr/docker-solr/341/682877640

Note that on Mac the PHP container has to communicate with the Solr container using the hostname ‘host.docker.internal’ rather than ‘localhost’ or ‘127.0.0.1’: https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach