No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main
wrapper
.gitignore
README.textile
build.gradle
gradlew
gradlew.bat
sample-build.gradle
settings.gradle

README.textile

Overview

Today, it is not obvious how to apply version control to manage the resources in an Enonic CMS project. The Enonic Resource Tool is a tool to easen this task.

Quickstart

1) Install gradle, one of the following:

2) In you project directory, create a build.gradle file based on the sample-build.gradle
3) Run “gradle tasks” to see available tasks
4) run “gradle backupTest” to create local backup of test-server
5) run “gradle syncLocal” to fetch test-server to local disk

ERT Workflow

A typical flow using ERT will be:

Development
1) Check out resources from version control to local disk
2) Check that development environment is up to date
3) Make changes to local files, apply changes to development environment as you go
4) Check in all changes to version control

Test
5) Check out resources to local disk
6) Run diff-task local → test, verify changes
7) Run sync-task local → test

Prod
8) Run backup-task to backup production to local disk
9) Check out resources to local disk
10) Run diff-task local → test, verify changes
11) Run sync-task local → prod

Configuration

https://github.com/enonic/ert-gradle-plugin/wiki/Ert-Configuration

Oxygen integration

https://github.com/enonic/ert-gradle-plugin/wiki/Ert-Oxygen-Integration

Known bugs

  1. Its not very robust with regards to special characters in resource-names

Future features / Todo