aymdev/fregata-demo

Demo project for Fregata framework

v1.0.0 2021-05-24 12:52 UTC

This package is auto-updated.

Last update: 2024-10-24 20:19:37 UTC


README

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