From 9bf6b3f3fb0fb7a188e89142a10a6dc4c5ecbbab Mon Sep 17 00:00:00 2001 From: Jani Gyllenberg Date: Tue, 22 Jan 2019 21:41:10 -0500 Subject: [PATCH] Basic usage details --- readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2b6a35b..78d2f2a 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,6 @@ # Laravel Data Sync -[ ] Add new `sync` disk in `config/filesystems.php` +- Add new `sync` disk in `config/filesystems.php` +- Create a JSON file for each model, using the model name as the filename. Example: Product.json would update the Product model +- Use nested arrays in place of hardcoded IDs for relationships +- Run `php artisan data:sync`