Skip to content

Commit bbbe37b

Browse files
authored
docs: fix docker-compose deployment instructions (#241)
1 parent 8faa496 commit bbbe37b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ mkdir -p data/cwl_wes/db data/cwl_wes/output data/cwl_wes/tmp
7373
Clone repository:
7474

7575
```bash
76-
git clone https://github.com/elixir-cloud-aai/cwl-WES.git app
76+
git clone https://github.com/elixir-cloud-aai/cwl-WES.git
7777
```
7878

7979
Traverse to app directory:
@@ -139,7 +139,7 @@ EOF
139139
Copy the file into the running worker container(s):
140140

141141
```bash
142-
for cont in $(docker ps --all | grep cwl-wes_wes-worker | cut -f1 -d" "); do
142+
for cont in $(docker ps --all | grep wes-worker | cut -f1 -d" "); do
143143
docker cp .netrc "${cont}:/tmp/user"
144144
done
145145
```
@@ -149,7 +149,7 @@ done
149149
Visit Swagger UI:
150150

151151
```bash
152-
firefox http://localhost:7777/ga4gh/wes/v1/ui
152+
firefox http://localhost:8080/ga4gh/wes/v1/ui
153153
```
154154

155155
Example values to start a simple CWL test workflow via the `POST /runs`
@@ -170,8 +170,8 @@ the `GET /runs` endpoint:
170170
```console
171171
curl -X GET \
172172
--header 'Accept: application/json' \
173-
'http://localhost:7777/ga4gh/wes/v1/runs'
174-
```
173+
'http://localhost:8080/ga4gh/wes/v1/runs'
174+
```
175175

176176
###### Authorization
177177

@@ -187,7 +187,7 @@ security:
187187
```
188188
189189
To send authorized requests, you **must** be in possession of a valid JWT
190-
Bearer token. The app was developed against JWTs issues by
190+
Bearer token. The app was developed against JWTs issues by
191191
[ELIXIR AAI][elixir-aai], although JWTs issued by other identity providers may
192192
work.
193193
@@ -207,13 +207,13 @@ so:
207207
curl -X GET \
208208
--header 'Accept: application/json' \
209209
--header 'Authorization: Bearer <YOUR_TOKEN>' \
210-
'http://localhost:7777/ga4gh/wes/v1/runs'
211-
```
210+
'http://localhost:8080/ga4gh/wes/v1/runs'
211+
```
212212

213213
If you are making use of the Swagger UI, you will need to click on the
214214
**Authorize** button (which appears on the right-hand side of the top bar upon
215215
enabling the `authorization_required` option) of the Swagger UI website and
216-
enter your JWT token in the `api_key` field, preceded by the `Bearer` prefix:
216+
enter your JWT token in the `api_key` field, preceded by the `Bearer` prefix:
217217

218218
![api_key](images/auth.png)
219219

0 commit comments

Comments
 (0)