0fnt
0fnt

Reputation: 8681

Play app in prod mode, how to run

I've tried the following variations:

  1. play '~run' prod
  2. play ~run --%prod (I know it's play 1.x but I still tried)
  3. play -Dplay.id=prod '~run'

application.mode=prod inside conf/application.conf.

Can someone tell me what I missed?

EDIT: @bassebergman's answer solves my problem. wondering if anyone knows if there is a way to have prod mode and triggered compilation both?

Upvotes: 0

Views: 259

Answers (1)

user1587820
user1587820

Reputation:

As per the documentation, try

play start

Upvotes: 1

Related Questions