https://github.com/chartes/miroir-app

https://github.com/chartes/miroir-app

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.7%) to scientific vocabulary

Keywords

elec
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: chartes
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 24.4 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
elec
Created almost 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

miroir-app

Surcouche d’API Elasticsearch 8.12, pour la recherche.

Installation ES

Installer ES 8.12.12.

Configure

ICU Analysis Plugin, Unicode support

sudo bin/elasticsearch-plugin install analysis-icu

Launch

service elasticsearch start

Indexer le corpus

Install venv

cd miroir-app python3 -m venv venv source venv/bin/activate pip install -r requirements.txt

Update dev.env ELASTICSEARCH_URL = http://localhost:9200 ELASTICSEARCH_CONFIG_DIR = 'elasticsearch' DOCUMENT_INDEX = 'miroir_document' COLLECTION_INDEX = 'miroir_collection' DTS_URL = http://localhost:5050/dts

Update the conf

python3 manage.py update-conf --rebuild

Index the data python3 manage.py index --root_collection=miroir

Lancer l’application

python3 flask_app.py

Tester

http://localhost:5003/api/1.0/search?query=content:César

And use the following for offline commands:

```bash

python3 manage.py --help

Usage: manage.py [OPTIONS] COMMAND [ARGS]...

Options: --help Show this message and exit.

Commands: delete Delete the indexes index Rebuild the elasticsearch indexes search Perform a search using the provided query. update-conf Update the index configuration and mappings ```

Owner

  • Name: École nationale des chartes
  • Login: chartes
  • Kind: organization
  • Location: 65 rue de Richelieu, 75002 Paris

Grand établissement d’enseignement supérieur dédié à la recherche historique

GitHub Events

Total
  • Push event: 1
  • Pull request event: 2
  • Fork event: 1
Last Year
  • Push event: 1
  • Pull request event: 2
  • Fork event: 1

Dependencies

requirements.txt pypi
  • Flask ==1.1.2
  • Jinja2 ==2.11.3
  • MarkupSafe ==1.1.1
  • Werkzeug ==1.0.1
  • certifi ==2020.12.5
  • chardet ==4.0.0
  • click ==7.1.2
  • elasticsearch ==7.12.0
  • itsdangerous ==1.1.0
  • lxml ==4.6.3
  • python-dotenv ==0.17.0
  • requests ==2.25.1
  • urllib3 ==1.26.4