precompile application on client-side #8

Open
wants to merge 9 commits into
from

Conversation

Projects
None yet
1 participant
Contributor

yyuu commented Mar 6, 2012

I added "play:precompile_locally" task to run play precompile on client-side (deployer), not server-side (deployee).

This will result that the application pre-compilation will run just once if there are some servers.
And also, by the side effect, the total CPU consumption will be reduced during deployment.

The pre-compilation on client-side or server-side is managed by "play_precompile_locally" parameter, and disabled by default.
This is because SCM branch on client-side and server-side may be differ.
If using this feature, users should have care about SCM branch to deploy.
(We are configuring Jenkins to check out specified branch of our git repo.)

Yamashita Yuu added some commits Mar 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment