This is a module for Drupal 8 that provides features for synchronizing records from a farmOS site into the local Drupal 8 database.
It comes with a PHP class that provides general methods for connecting, authenticating, and retrieving records via the farmOS API.
Currently it provides a simple form at /farmOS/sync that can be used to pull farm area records and merge them into a {farm_sync_areas} database table.
No special requirements.
Install as you would normally install a contributed Drupal module. Visit: https://www.drupal.org/documentation/install/modules-themes/modules-7 for further information.
Add your farmOS hostname, username, and password to your settings.php
file
(or to a settings.local.php
that is included via settings.php
). Be sure
to protect access to this file in the same way that you would protect your
database credentials. For example:
$config['farm_sync.settings']['hostname'] = 'myfarm.farmos.net';
$config['farm_sync.settings']['username'] = 'Jane Farmer';
$config['farm_sync.settings']['password'] = 'mypassword123';
Current maintainers:
This project has been sponsored by: