Skip to content

AymDev/Fregata-demo

Repository files navigation

Fregata demo project

Simple Fregata v1 project setup using Docker Compose with a migration from a MySQL to a PostgreSQL database.

Installation

Clone this repository:

git clone https://github.com/AymDev/Fregata-demo.git

Or install it from Composer:

composer create-project aymdev/fregata-demo

Use the Makefile commands to build, start and open a Bash session into the app:

make start && make shell

Usage

A demo_migration is provided with this project. It will create (or re-create) the source (MySQL) and target (PostgreSQL) databases, and generate fake data in the source.

Run the migration:

php vendor/bin/fregata migration:execute demo_migration