Skip to content

Drupal 8 module with features for synchronizing records from farmOS into the local database.

Notifications You must be signed in to change notification settings

mstenta/farm_sync

Repository files navigation

FARM SYNC

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.

REQUIREMENTS

No special requirements.

INSTALLATION

  • 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';

MAINTAINERS

Current maintainers:

This project has been sponsored by:

About

Drupal 8 module with features for synchronizing records from farmOS into the local database.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages