@@ -16,7 +16,6 @@ is `my_oxo2_config.json`, set OXO2_CONFIG=./my_oxo2_config.json by running `expo
16161 . To run OxO2 using docker, run ` docker compose up ` . This will start Solr, the OxO2 backend and OxO2 frontend. The frontend
1717will be available at ` http://localhost:8080 ` , the backend at ` http://localhost:8081 ` and Solr at ` http://localhost:8983 ` .
18182 . To stop OxO2 run ` docker compose down ` .
19- https://cursor.com/
2019
2120## Running OxO2 locally in Kubernetes using Minikube
2221### Prerequisites
@@ -28,7 +27,7 @@ https://cursor.com/
2827
2928### Mount your data into minikube
30291 . Mount into minikube:
31- ` minikube mount --port=39000 $SOLR_HOME:/mnt/solr-data ` .
30+ ` minikube mount --port=39000 $SOLR_HOME:/mnt/oxo/ solr-data ` .
3231
3332*** Note*** : You may need to allow port 39000 through firewall. If so, run: ` sudo ufw allow 39000/tcp ` .
3433
@@ -43,8 +42,9 @@ helm install oxo2 ./k8chart-local/oxo2 -n ontotools --create-namespace
4342```
4443kubectl port-forward deployment/oxo2-frontend 8080:8080 -n ontotools
4544kubectl port-forward deployment/oxo2-backend 8081:8081 -n ontotools
45+ kubectl port-forward deployment/oxo2-solr 8983:8983 -n ontotools
4646```
47- and the point your browser to http://localhost:8080 . The OxO2 backend will be accessible at http://localhost:8081/
47+ and the point your browser to http://localhost:8080 . The OxO2 backend will be accessible at http://localhost:8081/ and solr at http://localhost:8983 .
4848
4949
5050### To undeploy
@@ -90,13 +90,13 @@ and change to OxO2 source directory.
90904 . Change to dataload directory: ` cd ./oxo2-dataload `
91915 . Run OxO2 dataload: ` ./loadData.sh `
92926 . Return to OxO2 root dir: ` cd .. `
93- 7 . Start Solr: ` SOLR_SCRIPT/solr start --user-managed `
93+ 7 . Start Solr: ` $ SOLR_SCRIPT/solr start --user-managed`
94948 . Run OxO backend: ` ./startBackend.sh `
95959 . To build and run frontend:
9696 1 . Change directory to frontend: ` cd oxo2-frontend `
9797 2 . Build frontend: ` npm install `
9898 3 . Start frontend: ` npm run dev `
99- 4 . Access frontend from browser at: ` http://localhost:5173 / `
100- 5 . Backend is accessible at: ` http://localhost:8080 ` .
99+ 4 . Access frontend from browser at: ` http://localhost:8080 / `
100+ 5 . Backend is accessible at: ` http://localhost:8081 ` .
101101
102102
0 commit comments