aymdev / fregata-demo
Demo project for Fregata framework
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- aymdev/fregata: ^1.0.3
- doctrine/dbal: ^2.10
- fakerphp/faker: ^1.14
This package is auto-updated.
Last update: 2024-11-24 20:32:13 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