playframeworkplayframework-2.0

How to deploy Play Framework based apps


I am new to Play Framework (2.0.4). I have developed a little app and ran it locally on built-in play framework web server. Now I want to deploy it on remote server (APPFOG.COM or any other web server). Can some one guide me how deploy it remotely.

Whether I have to create war file, if so, then guide me how to create it and deploy it on remote server.

If there is some other way, please guide me in this regards.

Thanks in advance


Solution

  • The best place to look at is the Play documentation on Github: https://github.com/playframework/Play20/wiki/Production

    In this doc, you'll find several ways to deploy your app on several providers:

    But if you want to deploy your Play2 app in a servlet container (ie as a war), take a look at the play2-war-plugin.