Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/computate-org/computate-search

Tools for integrating with open source Search Engines like Apache Solr.
https://github.com/computate-org/computate-search

search search-engine solr

Last synced: 2 months ago
JSON representation

Tools for integrating with open source Search Engines like Apache Solr.

Awesome Lists containing this project

README

        

# Computate Search Tools

Tools for integrating with open source Search Engines like Apache Solr, Elasticsearch and Lucene.

# Clone the computate, computate-search, and smartvillage-operator projects

```bash
install -d ~/.local/src/computate
git clone [email protected]:computate-org/computate.git ~/.local/src/computate
install -d ~/.local/src/computate-search
git clone [email protected]:computate-org/computate-search.git ~/.local/src/computate-search
install -d ~/.local/src/smartvillage-operator
git clone [email protected]:computate-org/smartvillage-operator.git ~/.local/src/smartvillage-operator
```

# Install Red Hat OpenShift Local

Follow the instructions at redhat.com to [install OpenShift Local](https://developers.redhat.com/products/openshift-local/overview).

# Configure OpenShift Local

```bash
crc config set cpus 7
```

# Install computate base dependencies on OpenShift Local

```bash
oc apply -k ~/.local/src/computate/kustomize/overlays/openshift-local/base/
```

# Run the Ansible Playbook to install zookeeper on OpenShift Local

```bash
ansible-playbook ~/.local/src/smartvillage-operator/apply-edgezookeeper.yaml \
-e crd_path=~/.local/src/computate/kustomize/overlays/openshift-local/ansible/zookeeper/default/edgezookeeper.yaml
```

# Run the Ansible Playbook to install solr on OpenShift Local

```bash
ansible-playbook ~/.local/src/smartvillage-operator/apply-edgesolr.yaml \
-e crd_path=~/.local/src/computate/kustomize/overlays/openshift-local/ansible/solr/default/edgesolr.yaml
```

# Install computate-search locally with code generation

You can then run the project install automation again with the secrets in the vault, it will ask for the password.

```bash
ansible-playbook ~/.ansible/roles/computate.computate_project/install.yml -e SITE_NAME=computate-search -e ENABLE_CODE_GENERATION_SERVICE=true
```