Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-inv committed Feb 12, 2018
1 parent 673a05e commit fda6ddb
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Liquigen
>
Liquibase Changeset Generation for IntelliJ IDEA
>
## How to Use
This plugin acts as a front-end for several Liquibase command-line actions.

Currently the following actions are supported:
- Generate a Liquibase XML changelog based on a configured Data Source
- Generate a Liquibase XML changelog for a single selected Database Object
- Compare two Data Sources - a reference and a target - and generate a Liquibase XML changelog
to transform the target Data Source to the reference

### Generate XML from Data Source
Select a Data Source, then select <kbd>Liquibase</kbd> > <kbd>Generate Changeset</kbd>

<img src="https://raw.githubusercontent.com/iman89/liquigen/master/doc/liquigen_generate_data_source.png" width="735" height="490" />

### Generate XML from Database Object
Select a Database Object, then select <kbd>Liquibase</kbd> > <kbd>Generate Changeset</kbd>

If Liquibase does not support generating XML changeset for selected object, the resulting XML will be empty.

<img src="https://raw.githubusercontent.com/iman89/liquigen/master/doc/liquigen_generate_db_object.png" width="735" height="490" />

### Compare two Data Sources
- Select a Data Source, then select <kbd>Liquibase</kbd> > <kbd>Generate Diff...</kbd>
- Select a reference Data Source in the pop-up

Generated diff will be based upon which transformations are needed to transform target Data Source to a reference Data Source.

This operation is not symmetric.

<img src="https://raw.githubusercontent.com/iman89/liquigen/master/doc/liquigen_generate_diff.png" width="735" height="490" />

>
## How to Install
Download the [latest release](https://github.com/iman89/liquigen/releases) and install it manually using <kbd>File</kbd> > <kbd>Settings</kbd> > <kbd>Plugins</kbd> > <kbd>Install plugin from disk...</kbd>
>
## How to Build
To build the plugin from source code, please execute:
```
gradlew buildPlugin
```
You can find the distribution file in `build/distributions` folder.

**Caution!** This plugin is configured to build against a bundled distribution of **IntelliJ Ultimate 2017.3.3**

This can result in an extremely heavy and lengthy download of dependencies.
If you want to build this plugin against your local IntelliJ IDE installation, please consult
[Gradle IntelliJ plugin](https://github.com/JetBrains/gradle-intellij-plugin) documentation.
>
## Download
Download the [latest release](https://github.com/iman89/liquigen/releases).

0 comments on commit fda6ddb

Please sign in to comment.