/grav-plugin-lite-sync

Sync Grav pages with git for final user

Primary LanguagePHPMIT LicenseMIT

Lite Sync Plugin

Sync Grav page with git. Using SSH

The Lite Sync Plugin is for Grav CMS. git sync repo/prod

Installation

Installing the Lite Sync plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's terminal (also called the command line). From the root of your Grav install type:

bin/gpm install lite-sync

This will install the Lite Sync plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/lite-sync.

Manual Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to lite-sync. You can find these files on GitHub or via GetGrav.org.

You should now have all the plugin files under

/your/site/grav/user/plugins/lite-sync

NOTE: This plugin is a modular component for Grav which requires Grav and the Error and Problems to operate.

Admin Plugin

If you use the admin plugin, you can install directly through the admin plugin by browsing the Plugins tab and clicking on the Add button.

Configuration

Before configuring this plugin, you should copy the user/plugins/lite-sync/lite-sync.yaml to user/config/plugins/lite-sync.yaml and only edit that copy.

Here is the default configuration and an explanation of available options:

enabled: true

Note that if you use the admin plugin, a file with your configuration, and named lite-sync.yaml will be saved in the user/config/plugins/ folder once the configuration is saved in the admin.

Usage

Describe how to use the plugin.

Credits

Did you incorporate third-party code? Want to thank somebody?

To Do

  • Future plans, if any