Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (17 sloc) 737 Bytes

Trying Netty

As with the Jetty server used for earlier console hacking, for Netty we also need a starter project. If you don't have the g8 command line tool installed, please go @ref:back to that page until you do.

Enter the Console

This step will fetch a number of dependencies and sometimes certain repositories are a little wonky, so cross your fingers.

g8 unfiltered/unfiltered-netty --name=nettyplayin
cd nettyplayin
sbt console

Once you do get to a console, this should just work:

@@snip { #example1 }

Direct a web browser to http://127.0.0.1:8080/ and you'll be in hello world business.