Skip to content

Commit e435f57

Browse files
committed
Updated README
1 parent 62f6b0e commit e435f57

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,51 @@
33

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

6+
# Clone the computate, computate-search, and smartvillage-operator projects
7+
8+
```bash
9+
install -d ~/.local/src/computate
10+
git clone git@github.com:computate-org/computate.git ~/.local/src/computate
11+
install -d ~/.local/src/computate-search
12+
git clone git@github.com:computate-org/computate-search.git ~/.local/src/computate-search
13+
install -d ~/.local/src/smartvillage-operator
14+
git clone git@github.com:computate-org/smartvillage-operator.git ~/.local/src/smartvillage-operator
15+
```
16+
17+
# Install Red Hat OpenShift Local
18+
19+
Follow the instructions at redhat.com to [install OpenShift Local](https://developers.redhat.com/products/openshift-local/overview).
20+
21+
# Configure OpenShift Local
22+
23+
```bash
24+
crc config set cpus 7
25+
```
26+
27+
# Install computate base dependencies on OpenShift Local
28+
29+
```bash
30+
oc apply -k ~/.local/src/computate/kustomize/overlays/openshift-local/base/
31+
```
32+
33+
# Run the Ansible Playbook to install zookeeper on OpenShift Local
34+
35+
```bash
36+
ansible-playbook ~/.local/src/smartvillage-operator/apply-edgezookeeper.yaml \
37+
-e crd_path=~/.local/src/computate/kustomize/overlays/openshift-local/ansible/zookeeper/default/edgezookeeper.yaml
38+
```
39+
40+
# Run the Ansible Playbook to install solr on OpenShift Local
41+
42+
```bash
43+
ansible-playbook ~/.local/src/smartvillage-operator/apply-edgesolr.yaml \
44+
-e crd_path=~/.local/src/computate/kustomize/overlays/openshift-local/ansible/solr/default/edgesolr.yaml
45+
```
46+
47+
# Install computate-search locally with code generation
48+
49+
You can then run the project install automation again with the secrets in the vault, it will ask for the password.
50+
51+
```bash
52+
ansible-playbook ~/.ansible/roles/computate.computate_project/install.yml -e SITE_NAME=computate-search -e ENABLE_CODE_GENERATION_SERVICE=true
53+
```

0 commit comments

Comments
 (0)