pegleg/docs/source/getting_started.rst
Krysta 7ab29fc161 Make Pegleg documentation more user friendly
-Added small changes to make new users more easily understand
how to use Pegleg.
-Fixed some linking.

Change-Id: I00a8dff1f28db14f3ffd5ee04549eb57d8f1320a
2018-03-27 08:42:22 -05:00

2.1 KiB

Getting Started

What is Pegleg?

Pegleg is a document aggregator that will aggregate all the documents in a repository and pack them into a single YAML file. This allows for operators to structure their site definitions in a maintainable directory layout, while providing them with the automation and tooling needed to aggregate, lint, and render those documents for deployment.

For more information on the documents that Pegleg works on see Document Fundamentals.

Basic Usage

Before using Pegleg, you must:

Clone the Pegleg repository

git clone https://github.com/att-comdev/pegleg

and install the required packages in pegleg/src/bin/pegleg

pip3 install -r pegleg/src/bin/pegleg/requirements.txt -r pegleg/src/bin/pegleg/test-requirements.txt

Next, add your repos containing your site definition libraries into your local system where Pegleg is running, as Pegleg can only work on files available in the local directory.

You will then be able to use all of Pegleg's features through the CLI. See CLI for more information.