Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8960671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:42:41+00:00 2026-06-15T15:42:41+00:00

I am aware of at least two local options to deploy Play apps, this

  • 0

I am aware of at least two local options to deploy Play apps, this is, either copying the whole thing and running play start, or exporting a war to run it as part of another app server.

I’ve also used the deploy mechanisms for gae and heroku. Very neat.

However, what I want to do is:

  • deploy locally to my servers (there will be a bunch of them that receive the same copy, behind a load balancer).
  • run just play with netty, so no war into tomcat/jboss/you name it
  • do NOT deploy the source code, git files, etc…. Just the mimimum necessary (precompiled, config, templates I guess, public dir, …)

Is there a command or option that I’ve missed in play to do this? Maybe exporting a war and running it from a different play server, if that makes sense? Or am I going to find out what is needed and not after a precompile and copy over only that?

EDIT:

The accepted answer is what I was looking for, but is not available on 1.2.x. Eventually I created my own script, where the most important bits are:

  1. run play precompile
  2. Copy the conf/, precompiled/, public/, lib/ and app/views/ directories to the location where you want to deploy (my script does a tar.gz of that and uncompresses it there).
  3. run play start -Dprecompiled=true
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:42:43+00:00Added an answer on June 15, 2026 at 3:42 pm

    This is for Play 2, not Play 1.

    Run play dist to generate a zip that you can copy anywhere and run. More details…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update: This bug has been confirmed by at least two others. Even if you
I aware that this will be a less programming question, but still... How can
This has been an age old question and I am aware of the usual
I'm looking for a way to allocate local variables to registers. I'm aware of
First off, I'm aware that there are many questions related to this, but none
Despite the title of this question, I am well aware that UIViewControllers cannot be
There are at least two decent implementations of nested dictionary I've come across on
Are aware of any solution that let me deactivate my facebook account through an
BE AWARE! Creating spyware, computer viruses and similar nasties can be illegal where you
Data-aware controls can be linked to datasets to display data contained in fields in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.