Skip to content

Commit

Permalink
Merge pull request #89 from xuwei-k/slash-syntax-jetty-start
Browse files Browse the repository at this point in the history
avoid old sbt syntax
  • Loading branch information
magnolia-k authored Nov 6, 2023
2 parents 3d1e5f3 + 307f6e3 commit b6e89fe
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 3.0/async/pekko-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Corresponds to the guide at [http://scalatra.org/guides/3.0/async/pekko.html](ht
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/async/pekko-examples
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

First, open [http://localhost:8080/ask](http://localhost:8080/ask) in your browser. You'll see the "question and answer" in the browser.
Expand Down
2 changes: 1 addition & 1 deletion 3.0/formats/scalatra-forms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A full tutorial on the use of validation forms is available on the
```sh
$ cd 3.0/formats/scalatra-forms
$ chmod u+x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Open [http://localhost:8080](http://localhost:8080) in your browser.
2 changes: 1 addition & 1 deletion 3.0/http/authentication-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Corresponds to the guide at [http://scalatra.org/guides/3.0/http/authentication.
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/http/authentication-demo
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Then open [http://localhost:8080](http://localhost:8080) in your browser.
Expand Down
2 changes: 1 addition & 1 deletion 3.0/http/scalatra-gzip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Corresponds to the guide at [http://scalatra.org/guides/3.0/http/gzip.html](http
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/http/scalatra-gzip
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Open [http://localhost:8080/](http://localhost:8080/) in your browser.
2 changes: 1 addition & 1 deletion 3.0/http/scalatra-http-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/http/scalatra-http-demo
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Open [http://localhost:8080/](http://localhost:8080/) in your browser.
2 changes: 1 addition & 1 deletion 3.0/http/scentry-auth-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/http/scentry-auth-demo
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Open [http://localhost:8080/](http://localhost:8080/) in your browser.
Expand Down
2 changes: 1 addition & 1 deletion 3.0/persistence/scalatra-slick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Corresponds to the guide at [http://scalatra.org/guides/2.8/persistence/slick.ht
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/2.8/persistence/scalatra-slick
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Open below links in your browser.
Expand Down
2 changes: 1 addition & 1 deletion 3.0/persistence/scalatra-squeryl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ There's a scalatest example showing the use of before and after blocks to config
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/persistence/scalatra-squeryl
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Go to [http://localhost:8080/create-db](http://localhost:8080/create-db). This will create the database schema.
Expand Down
2 changes: 1 addition & 1 deletion 3.0/swagger-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ to demonstrate Scalatra's Swagger functionality.
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/swagger-example
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

You can see the pet store APIs specification at [http://localhost:8080/api-docs/swagger.json](http://localhost:8080/api-docs/swagger.json).
Expand Down
2 changes: 1 addition & 1 deletion 3.0/views/scalatra-twirl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Corresponds to the guide at [http://scalatra.org/guides/3.0/views/twirl.html](ht
$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/3.0/views/scalatra-twirl
$ chmod +x sbt
$ ./sbt ~jetty:start
$ ./sbt ~Jetty/start
```

Open [http://localhost:8080/](http://localhost:8080/) in your browser.

0 comments on commit b6e89fe

Please sign in to comment.