Apache FreeMarker Online Tester

Clone this repo:

Branches

  1. b70225f Upgraded FreeMarker, and DropWizard dependency by ddekany · 1 year, 2 months ago master
  2. ae42ea3 Upgraded FreeMarker dependency by ddekany · 3 years, 1 month ago
  3. 97e1b3d Updated to FreeMarker 2.3.30 by ddekany · 4 years ago
  4. 672977d Avoid ERROR log for using dynamic current version (logged since 2.3.30) by ddekany · 4 years, 1 month ago
  5. e0d7636 Use SimpleObjectWrapper (a subclass of it with XML support actually), instead of DefaultObjectWrapper, to be on the safe side. by ddekany · 4 years, 6 months ago

FreeMarker Online Tester Build Status Coverage Status

What is FreeMarker Online Tester

It‘s a web page to quickly try template snippets, with some simple data-model. It’s especially handy for learning the template language.

For a deployed version of this tool you can visit https://try.freemarker.apache.org/.

Development Instructions

  • Clone the repository to a local directory
  • Run ./gradlew build from the cloned directory (use JDK 8)
  • If you want to run it using IDEA run ./gradlew cleanidea idea; this will generate the IDEA project for you.
  • To run the service:
    • From command line: build shadowJar (not jar) and then issue java -jar build/libs/freemarker-online-<VERSION>.jar server src/main/resources/freemarker-online.yml
    • From IDE: run class org.apache.freemarker.onlinetester.dropwizard.FreeMarkerOnlineTester with arguments server src/main/resources/freemarker-online.yml
  • Then, to try the service locally, visit http://localhost:8080/

License

FreeMarker-Online is licensed under the Apache License, Version 2.0. See the LICENSE file for details.