This is the BIIGLE module to transfer data between application instances.
This module is already included in biigle/biigle
.
- Run
composer require biigle/sync
. - Add
Biigle\Modules\Sync\SyncServiceProvider::class
to theproviders
array inconfig/app.php
. - Run
php artisan vendor:publish --tag=public
to publish the public assets of this module. - Configure a storage disk for the uploaded import files and set the
SYNC_IMPORT_STORAGE_DISK
variable to the name of this storage disk in the.env
file. Example for a local disk:'imports' => [ 'driver' => 'local', 'root' => storage_path('imports'), ],
- Add a daily scheduled command to prune old uploaded import files to
app/Console/Kernel.php
:$schedule->command('sync:prune')->daily();
Take a look at the development guide of the core repository to get started with the development setup.
Want to develop a new module? Head over to the biigle/module template repository.
Contributions to BIIGLE are always welcome. Check out the contribution guide to get started.