If your development and production environment are on different servers, you have to install Deploy module and all dependent modules in modules directory of the project root directory and enable all dependent modules.
For complete installation of RELAXed web service module, you need to run below command from root directory. This will install all it’s dependency.
composer require relaxedws/replicator:dev-master
Also, you can use Composer Manager, to make sure all dependencies are added.
Step 1: Replicator user
It is recommended that you make use of the “Replicator” role that has been generated to do replication. To do this you can either create a new user with that role, or add that role to an existing user. You will need to do this on both of the Drupal sites (development and live environments).

Step 2: Configuring local Relaxed settings
On both sites, under /admin/config/relaxed/settings, configure the credentials to the replicator user.

Step 3: Configuring Relaxed remotes
Under /admin/config/services/relaxed, click add new remote and configure it with the remote site information.
In full url field, you need to add path of your live site with your API root.
After saving remote, you can check your site status report for remote connection from /admin/reports/status path.

Step 4: Configuring the remote Workspace
Under /admin/structure/workspace edit the Workspace that should connect to the remote site to point to the remote site.

Either go to “Structure” then “Deployment” or use the deploy link in the top right of the toolbar to get the to the deployment page.

Visit the live website and you will see all the content from the local website.
For Pull from live site to local site you need to click on update.

.