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!
- Docker (recommended)
- Run
make env MODE=test
- Follow instructions to install certificate.
- 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
- Run
make local-env MODE=test
- Follow instructions to install certificate.
- Docker (connected to cern sso)
- Use Teigi to obtain oauth credentials
tbag show --hg cernsearch oauth_dev-cern-search
-
Open
.env-staging
and editINVENIO_CERN_APP_CREDENTIALS
: replacesecret
with the key you just obtained. -
Edit /etc/hosts and add line:
127.0.0.1 dev-cern-search.web.cern.ch
- Edit docker-compose.test.yml and add
- .env-staging
underenv_file
:
env_file:
- .env
- .env-staging
- Run
make env-staging MODE=test
- Follow instructions to install certificate.
- Chrome https://dev-cern-search.web.cern.ch/ (without proxy to cern on)
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