From bded00a94027eb879018523b83000baacf5d8e7a Mon Sep 17 00:00:00 2001 From: Barry McCormick Date: Mon, 21 Apr 2025 16:46:43 -0700 Subject: [PATCH] template documentation edits --- docs/chapters/template.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/chapters/template.rst b/docs/chapters/template.rst index 1a4e36d4..9552755d 100644 --- a/docs/chapters/template.rst +++ b/docs/chapters/template.rst @@ -111,6 +111,23 @@ SYSRC requires that NO quotes be used or that quotes (``"``) be escaped ie; ARG will always treat an ampersand "\``&``" literally, without the need to escape it. Escaping it will cause errors. +Bootstrapping Templates +----------------------- + +The templates for Bastille are all in github and mirror the directory +structure of the ports tree. So, nginx is in the www directory in the +templates just like it is in the FreeBSD ports tree. To bootstrap the +entire set of predefined templates run the following command: + +.. code-block:: shell + + bastille bootstrap https://github.com/bastillebsd/templates + +This will install into the /usr/local/bastille/templates directory all the +templates. Now you can use bastille template command to apply the templates. + + + Template Examples -----------------