Document how to boot up an Akka/play-mini application, see #2272

This commit is contained in:
Patrik Nordwall 2012-07-03 11:28:24 +02:00
parent 18f113de68
commit 962e4a9638

View file

@ -12,11 +12,19 @@ service applications that integrates with Akka. It provides a REST API on top of
Getting started
---------------
First you must make your application aware of play-mini.
In SBT you just have to add the following to your ``libraryDependencies``::
Easiest way to get started with `Play2 Mini <https://github.com/typesafehub/play2-mini>`_ is to use the
G8 project templates, as described in the `Play2 Mini Documentation <https://github.com/typesafehub/play2-mini>`_.
If you already have an Akka project and want to add Play2 Mini, you must first add the following to
your ``libraryDependencies``::
libraryDependencies += "com.typesafe" %% "play-mini" % "<version-number>"
In case you need to start Play2 Mini programatically you can use::
play.core.server.NettyServer.main(Array())
Akka Mist
=========