Skip to content

inveniosoftware-contrib/citadel-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

736fdb3 · Jun 15, 2021
Jun 15, 2021
Dec 10, 2020
Sep 7, 2020
Dec 10, 2020
May 3, 2018
Jun 14, 2021
Dec 10, 2020
Jun 10, 2021
Dec 8, 2020
Dec 8, 2020
Apr 28, 2020
Dec 8, 2020
Jun 10, 2021
Jun 14, 2021
Dec 8, 2020
Sep 8, 2020
Jul 6, 2020
Dec 10, 2020
Dec 8, 2020
Jan 28, 2021
Jun 14, 2021
Dec 10, 2020
Dec 10, 2020
Dec 10, 2020
Dec 10, 2020
Jun 15, 2021
Dec 10, 2020
Jun 14, 2021
Jun 10, 2021
Dec 10, 2020
Jun 10, 2021
Apr 7, 2021
Jun 10, 2021
Dec 8, 2020
Jun 10, 2021
Dec 10, 2020
Jun 14, 2021
Jun 14, 2021
Dec 10, 2020
Apr 7, 2021
Dec 10, 2020

Repository files navigation

Citadel Search as a Service

Citadel Search provides enterprise search capabilities on demand. You can set up your own search instance, submit your documents and search among them when needed!

  • User documentation here.
  • Administration documentation here.

Local Development options

  • Docker (recommended)
  1. Run make env MODE=test
  2. Follow instructions to install certificate.
  3. Chrome https://localhost Note: When sending records in this setup set the $schema field as "https://0.0.0.0/schemas/<instance>/<record>.json" Read more on the makefile and the Docs.
  • Docker + Poetry: Read more on the makefile
  1. Run make local-env MODE=test
  2. Follow instructions to install certificate.

[NOTE: CERN ADMINS ONLY]

  • Docker (connected to cern sso)
  1. Use Teigi to obtain oauth credentials

tbag show --hg cernsearch oauth_dev-cern-search

  1. Open .env-staging and edit INVENIO_CERN_APP_CREDENTIALS: replace secret with the key you just obtained.

  2. Edit /etc/hosts and add line:

127.0.0.1 dev-cern-search.web.cern.ch

  1. Edit docker-compose.test.yml and add - .env-staging under env_file:
   env_file:
     - .env
     - .env-staging
  1. Run make env-staging MODE=test
  2. Follow instructions to install certificate.
  3. Chrome https://dev-cern-search.web.cern.ch/ (without proxy to cern on)

TLS - How to install certificate

Install generated certificate nginx/tls/cern.ch.crt locally.

For mac: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain nginx/tls/cern.ch.crt