Now that you set up both Drupal environment, we are going to set up client and server.
The client does not have any set-up to do. All information that it needs will be sent by server. The only mandatory configuration step is to tell it which server will push synchronization orders.
Go to Administer > Yamm > Server.
On this configuration form, input the server HTTP root path. If your server is hosted at the following URL http://my.server.tld, you could write all of these, with or without trailing slash:
Prefer the last one, the module will generate the right full URL itself.
First thing to do is register our client. Go to Administer > Yamm > Client list.
In the Operations fieldset, select Add new item then click the Update button.
Input here:
Press the save button and return to the client list.
On the client list page, you should see a new line with your client. On the Operations cell, you have a Test link, click it.
If everything is OK, you should see the message: Communication OK
displayed on top of the page.
If this message does not appear, then you have a wrong installation. This test
link send a simple XML-RPC message on which the client should just returns
TRUE.
To fix it, try to access manually to http://my.client.tld/foo/xmlrpc.php
and to http://my.server.tld/xmlrpc.php. If both works, then this test
will work.
In order to use a profile, you need to describe which data you are going to
synchronize.
This data description take the form of a view. This allows you to make a
complex filter of data to synchronize.
The view you are going to create must rely on a known entity base table. For the example, you could start with a node based view.
How to make a working view, refers to the views module documentation, and apply those rules:
When your view is finished, save it.
Go to Administer > Yamm > Profiles overview.
In the Operations fieldset, select Add new item then click the Update button.
Input here:
Press the save button and return to the profiles overview page.
On the profiles overview page, you can see a list of radio boxes, one per
line. Those radio boxes, like the input formats settings page allows you
to select a default profile, used for synchronization tasks.
Note that in the future, you'll be able to configure one profile per client.
At this time, only the default profile is being used at pull time.
Select the radio box on your new profile line, in the Operations fieldset select Set selected as default then click Update.
Now that your profile is set as default, you are going to configure entities behavior. Each entity can define a set of options to control update or save behavior. Each set of entity settings is saved on a per profile basis.
On the line where your profile appears, click the Edit link. On the profile edit form, click on the Entities settings tab.
Select here options that make sens to you, then click the Submit button.
Now, your environment is ready to do synchronization. You should fill it with arbitrary content, and proceed to the next step.