Skip to content

Commit

Permalink
Use Gretty for running hystrix-examples-webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrjacobs committed Dec 14, 2016
1 parent 03dac0c commit bc3b773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hystrix-examples-webapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ The [hystrix-dashboard](https://github.com/Netflix/Hystrix/tree/master/hystrix-d
```
$ git clone [email protected]:Netflix/Hystrix.git
$ cd Hystrix/hystrix-examples-webapp
$ ../gradlew jettyRun
> Building > :hystrix-examples-webapp:jettyRun > Running at http://localhost:8989/hystrix-examples-webapp
$ ../gradlew appRun
> Building > :hystrix-examples-webapp:appRun > Running at http://localhost:8989/hystrix-examples-webapp
```

Once running, open <a href="http://localhost:8989/hystrix-examples-webapp">http://localhost:8989/hystrix-examples-webapp</a>.
Expand Down
5 changes: 3 additions & 2 deletions hystrix-examples-webapp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apply plugin: 'war'
apply plugin: 'jetty'
apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'

dependencies {
compileApi project(':hystrix-core')
Expand All @@ -8,6 +8,7 @@ dependencies {
compileApi project(':hystrix-metrics-event-stream')
}

jettyRun {
gretty {
httpPort = 8989
servletContainer = 'jetty9'
}

0 comments on commit bc3b773

Please sign in to comment.