Skip to content

Commit b14e0cf

Browse files
committed
Update readme with instructions around deploying through marathon, fix urls in package.json
1 parent 5f10c46 commit b14e0cf

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ so you don't necessarily need a working Mesos Cluster. For that we are using
5050

5151
## Usage
5252

53+
### Deploying the UI through Marathon
54+
55+
Edit ```marathon.json``` and replace ```MESOS_ENDPOINT``` with the URL of your
56+
Mesos master, and adjust the cpu or memory if desired, and then execute -
57+
58+
```
59+
curl -X POST -HContent-Type:application/json -d @marathon.json http://MARATHON_ENDPOINT:8080/v2/apps
60+
```
61+
5362
### Building the Docker container
5463

5564
```

marathon.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"cpus": 0.1,
55
"mem": 512,
66
"env": {
7-
"MESOS_ENDPOINT": "http://127.0.0.1:5050",
8-
"MARATHON_ENDPOINT": "http://127.0.0.1:8080"
7+
"MESOS_ENDPOINT": "http://127.0.0.1:5050"
98
},
109
"labels": {
1110
"DCOS_PACKAGE_NAME": "mesos-ui",

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
"description": "A UI for Mesos built on React.JS.",
55
"license": "MIT",
66
"bugs": {
7-
"url": "https://github.com/capgemini/react-scaffold/issues"
7+
"url": "https://github.com/capgemini/mesos-ui/issues"
88
},
9-
"homepage": "https://github.com/capgemini/react-scaffold",
9+
"homepage": "https://github.com/capgemini/mesos-ui",
1010
"keywords": [
1111
"mesos",
12+
"apache",
1213
"ui",
1314
"react"
1415
],

0 commit comments

Comments
 (0)