diff --git a/README.md b/README.md index 552dc2d7fc6406b2abfbf6340759944b3e277559..159a95b34cbb9ab2ef4408b1aa9166ae5903f039 100644 --- a/README.md +++ b/README.md @@ -151,4 +151,38 @@ DSPACE_POSTGRESQL_PORT_5432_TCP_PORT=5432 DSPACE_POSTGRESQL_SERVICE_PORT=5432 DSPACE_POSTGRESQL_PORT=tcp://10.13.0.173:5432 DSPACE_POSTGRESQL_PORT_5432_TCP=tcp://10.13.0.173:5432 -``` \ No newline at end of file +``` + +## DSpace +```console +$ kubectl -n dspace-dev create -f servlet.yaml +pod "servlet" created +``` +```console +$ kubectl -n dspace-dev get po +NAME READY STATUS RESTARTS AGE +dspace-postgresql-1806947503-qw8q4 1/1 Running 0 4d +servlet 1/1 Running 0 34s +``` +```console +$ kubectl -n dspace-dev logs servlet +[Wed Oct 4 12:24:25 UTC 2017] Starting +[Wed Oct 4 12:24:25 UTC 2017] Cloning lindat-dspace repository...skip! /opt/repository/sources/dspace already exists +[Wed Oct 4 12:24:25 UTC 2017] Creating workspace...skip! /opt/repository/workspace already exists +[Wed Oct 4 12:24:25 UTC 2017] Copy makefile...skip! /opt/repository/workspace/config/variable.makefile already exists +[Wed Oct 4 12:24:25 UTC 2017] Copy local.properties...skip! /opt/repository/workspace/sources/local.properties already exists +[Wed Oct 4 12:24:25 UTC 2017] Compilation and Deployment of DSpace...already done +already done +already done +[Wed Oct 4 12:24:25 UTC 2017] Copy aai_config.js...skip! /opt/lindat-dspace/installation/webapps/xmlui/themes/UFAL/lib/js/aai_config.js already exists +[Wed Oct 4 12:24:25 UTC 2017] Create dspace admin...already done +[Wed Oct 4 12:24:25 UTC 2017] Starting Tomcat...Starting Tomcat 8... +Tomcat started. +``` +```console +$ kubectl -n dspace-dev port-forward servlet 8080:8080 +Forwarding from 127.0.0.1:8080 -> 8080 +Forwarding from [::1]:8080 -> 8080 +``` + +connect to http://localhost:8080/repository/xmlui/#