@@ -38,19 +38,19 @@ This application can be started with [Docker](https://www.docker.com/) and [Dock
3838
3939Then run the following commands to clone the project in your local system.
4040
41- ```
41+ ```
4242 git clone https://github.com/common-workflow-language/cwlviewer.git
43- cd cwlviewer
43+ cd cwlviewer
4444 ```
4545
4646In the project directory, to start CWLViewer exposed on port ` 8080 ` , run:
4747
4848 docker-compose up
49-
50- The web server will connect to a local host, you'll see the message saying "Tomacat started on port(s):8080".
5149
52- To see the locally running CWL Viewer app, visit http://localhost:8080/ in your web browser.
53-
50+ The web server will connect to a local host, you'll see the message saying "Tomacat started on port(s):8080".
51+
52+ To see the locally running CWL Viewer app, visit http://localhost:8080/ in your web browser.
53+
5454To stop and remove:
5555
5656 docker-compose down
@@ -72,6 +72,44 @@ If you have modified the source code, then you may want to build the docker imag
7272
7373 docker build -t commonworkflowlanguage/cwlviewer .
7474
75+ ## Running Spring Boot locally for development, with MongoDB and Jena Fuseki in Docker
76+
77+ Create ` docker-compose.override.yml`:
78+
79+ ```
80+ version: '3.2'
81+ services:
82+ mongo:
83+ ports:
84+ - "27017:27017"
85+ sparql:
86+ ports:
87+ - "3030:3030"
88+ ```
89+
90+ Then start the containers:
91+
92+ ```
93+ docker-compose up
94+ ```
95+
96+ Then start Spring Boot locally:
97+
98+ ```
99+ mvn spring-boot: run -Dserver.port=7999
100+ ```
101+
102+ Now you can connect to http://localhost:7999 in your browser.
103+
104+ ## Deleting the data volumes to reset state
105+
106+ To completely reset the state, you must delete the data volumes:
107+
108+ ```
109+ docker-compose down
110+ docker volume rm cwlviewer_bundle cwlviewer_git cwlviewer_graphviz cwlviewer_mongo cwlviewer_sparql
111+ ```
112+
75113## Running without Docker
76114
77115### Requirements
0 commit comments