After installing gloria, several commands are now available for you to interact with your page, create new content, build and distribute easier!
You can find information about the commands and options here.
Checkout installation instructions to set up gloria locally.
Tries to create a _config.yml
with the default settings if none exists.
Copies the contents of the public folder into the build directory overwriting any files built previously.
Builts the HTML files and runs the tailwind
command. Creates a resulting
stylesheets/styles.css
with the classes used on the project.
Generates all the pages and interpolates data into them.
Builds the site into the desired destination. By default it will use a folder name 'build' in the root directory of the project, and will create it if doesn't exists. If it exists it should delete all it's contents before writing to it.
It won't build to a parent folder. The command will fail if _config.yml is invalid or not present.
It will traverse the folders specified in the _config.yml
idealling ignoring
the ones that match the exclude property.
Usage:
gloria build [dest]
Options:
--help Show help [boolean]
--dest Destination path or folder to build the site, by default it
uses 'site'. [default: ""]
--clear When different to false, it will not
overwrite other files in the dest folder. [default: true]
--git By default it will ignore the .git directory.
I don't see a reason why would you include it, but if you want
to use --git=true. [default: false]
--save By default it will save new configuration arguments in the
_config file. [default: true]
--silent, -s Limit the amount of output to the console.
[boolean] [default: false]
-v, --version Show version number [boolean]
Running gloria help
will display the most recent list of commands, options and
their description.
Running gloria --version
will display the current version of gloria installed
in the project.