-
Notifications
You must be signed in to change notification settings - Fork 0
Production Deployment
pramode edited this page Jul 16, 2011
·
1 revision
Run the command:
play id
and specify an id of "prod". This will set the play framework "id" for all subsequent invocations of play commands.
Now, look at your applications conf/application.conf file. You should see lines like this:
# Application mode
# ~~~~~
# Set to dev to enable instant reloading and other development help.
# Otherwise set to prod.
application.mode=dev
%prod.application.mode=prod
Note the configuration key "%prod.application.mode=prod" will be active when play commands are run after setting up the id as "prod".
So, just run "play id", set up the id as "prod" and execute "play run". The application now runs in "production mode".