1
votes

The application object has the isDev(), isTest() and isProd() methods.

But I can't find out where to set this in the .conf file.

Using the search feature on the website for "mode", "dev", "test" or "prod" gives nothing related to this. This doesn't appear to be documented.

1

1 Answers

2
votes
  • Production mode use: activator stage or activator dist
  • Dev mode use activator run

To test a production mode, run (not to be used in production):

cd project-dir
activator
testProd