Skip to content

Commit

Permalink
Mention server backend in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Jan 23, 2024
1 parent abd5c32 commit 2b961a0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions play-java-grpc-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ This is an example application that shows how to use Akka gRPC to both expose an

For detailed documentation refer to https://www.playframework.com/documentation/latest/Home and https://developer.lightbend.com/docs/akka-grpc/current/ .

## Server backend

By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file.
In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch.
For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server).

## Sample license

Expand Down
5 changes: 5 additions & 0 deletions play-scala-grpc-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ This is an example application that shows how to use Akka gRPC to both expose an

For detailed documentation refer to https://www.playframework.com/documentation/latest/Home and https://developer.lightbend.com/docs/akka-grpc/current/ .

## Server backend

By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file.
In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch.
For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server).

## Sample license

Expand Down
6 changes: 6 additions & 0 deletions play-scala-tls-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ You must have JDK 11 installed on your machine to run this, to take advantage of

* [Adoptium OpenJDK](https://adoptium.net/)

## Server backend

By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file.
In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch.
For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server).

## Generate Certificates

To use HTTPS, you must have X.509 certificates. Generating certificates can be painful, so all the scripts needed to generate the certificates needed are included in the `scripts` directory. For more detail, you can see the [Certificate Generation](https://www.playframework.com/documentation/latest/CertificateGeneration) section in Play WS SSL.
Expand Down

0 comments on commit 2b961a0

Please sign in to comment.