@extends(main) @set(title:"PlayRythm GAE mode demo")

The application demonstrate the effect when rythm.gae set to true

  1. Check your conf/application.conf file, make sure there are line rythm.gae=true
  2. $play clean
  3. $play run
  4. Open your browser, navigate to http://localhost:9000, and you should be able to see the page
  5. check if there are tmp/rythm created. If no, then the rythm.gae mode works
  6. If rythm.gae=false or not configured, then there should have tmp/rythm created
list the tmp dir: @{ String[] sa; if (null == _play.tmpDir) { // run in real GAE, thus no tmpDir created sa = new String[]{}; } else { sa = _play.tmpDir.list(); } }
@{ boolean gaeConf = _rythm.noFileWrite; }

The current rythm.gae configuration is @gaeConf, so tmp/rythm should @(gaeConf ? "not exists" : "exists").

Test result:


Template Source

@(getTemplateClass(false).getTemplateSource())