updated readme

This commit is contained in:
Tony Tam 2013-03-20 21:38:23 -07:00
parent 9a86b1df8b
commit 87b1d71f72
2 changed files with 6 additions and 5 deletions

View File

@ -50,13 +50,14 @@ $ find -type f
To run the server, cd to the `samples/server-generator/scalatra/output` folder and run:
```
sbt run
sbt
> container:start
```
You can now load the swagger-ui against `http://localhost:8002/api/resources.json`. Of course this isn't a fully
You can now load the swagger-ui against `http://localhost:8080/resources.json`. Of course this isn't a fully
runnable server! You have to add the logic in the apis/*.scala files. But that's the easy part.
### Making it your own
Running the sample is easy, but how about making your own server? Easy! Just modify the `samples/server-generator/scalatra/ScalatraServerGenerator.scala` file.

View File

@ -3,13 +3,13 @@ import com.github.siasia.PluginKeys._
assemblySettings
organization := "org.eatbacon"
organization := "com.wordnik"
seq(webSettings :_*)
mainClass in assembly := Some("JettyMain")
name := "sfth"
name := "scalatra-sample"
version := "0.1.0-SNAPSHOT"