aboutsummaryrefslogtreecommitdiff
path: root/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2018-11-06 20:37:17 +0000
committerJulio Capote <jcapote@gmail.com>2018-11-06 20:37:17 +0000
commit738322da17c47eb76f9c5b168cb8a692408184a0 (patch)
treebfd0289565e685cc8799b5a5d040449c97c186b1 /content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown
parent36b8f6dcf6672d592b28356a87df803f777088c6 (diff)
downloadcapotej.com-738322da17c47eb76f9c5b168cb8a692408184a0.tar.gz
post cleanup
Diffstat (limited to 'content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown')
-rw-r--r--content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown18
1 files changed, 9 insertions, 9 deletions
diff --git a/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown b/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown
index e37f454..7a5910d 100644
--- a/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown
+++ b/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown
@@ -3,7 +3,7 @@ title: "Finagle with scala-bootstrapper"
date: 2012-01-25T09:45:00Z
comments: false
url: /finagle-with-scala-bootstrapper
-tags:
+tags: ["scala"]
---
@@ -12,7 +12,7 @@ I've been fascinated by the concepts in [finagle](http://twitter.github.com/fina
This is a guide on setting it all up locally, it assumes you have Git, Homebrew, and OS X.
-###Install scala 2.8.1
+### Install scala 2.8.1
```sh
$ brew versions scala
@@ -22,20 +22,20 @@ $ brew install scala
$ git checkout master$git branch -D scala281
```
-###Install sbt 0.7.4 (assumes you have a ~/bin in your $PATH)
+### Install sbt 0.7.4 (assumes you have a ~/bin in your $PATH)
```sh
$ curl -O http://simple-build-tool.googlecode.com/files/sbt-launch-0.7.4.jar > ~/bin/sbt-launch.jar
$ echo 'java -Xmx1G -jar `dirname $0`/sbt-launch.jar "$@"'> ~/bin/sbt
```
-###Install scala-bootstrapper
+### Install scala-bootstrapper
```sh
$ gem install scala-bootstrapper
```
-###Generate finagle project**
+### Generate finagle project**
```sh
$ mkdir newbird
@@ -45,7 +45,7 @@ $ sbt update
$ sbt test
```
-###Add a Client class
+### Add a Client class
create newbird/src/main/scala/com/twitter/newbird/Client.scala with
@@ -75,7 +75,7 @@ class Client {  
```
-###Running the server
+### Running the server
```sh
$ cd newbird
@@ -83,7 +83,7 @@ $ sbt> run -f config/development.scala
```
-###Playing with the client**
+### Playing with the client
```sh
@@ -95,7 +95,7 @@ scala> client.put("foo","bar")
scala> client.get("foo")
```
-###Bonus
+### Bonus
finagle exports a stats url you can curl: