kcl-ddh / kiln

Kiln is a multi-platform framework for building and deploying complex websites whose source content is primarily in XML. It brings together various independent software components into an integrated whole that provides the infrastructure and base functionality for such sites.
Apache License 2.0
34 stars 62 forks source link

Documentation: add info on WAR and static build #19

Closed pdaengeli closed 7 years ago

pdaengeli commented 7 years ago

The documentation mentions the possibilities to build to WAR and static (at components.rst), but more specific information is missing. Let me know if there is a better way to do this than what I sketched here.

Btw, great to see the recent activity here!

ajenhl commented 7 years ago

No need to change the default target (unless to be able to double-click the BAT file in Windows, I guess; anyone building a WAR or static version of the site is likely to be comfortable using a command shell or similar), just specify the target as an argument:

./build.sh static ./build.sh war

Also, the war target doesn't require the site to be running, as far as I can see. I'll admit that I've never made use of either option on any real project.

pdaengeli commented 7 years ago

Both commands are working, cool. A hint in the documentation would be helpful, I think, as a static build may be nice to make smaller projects portable and (relatively) future proof.

I agree, the war target should work on its own.

ajenhl commented 7 years ago

Thanks for this contribution!