The ResourceSync Prototype Server exposes a ResourceSync Source, which is a server that hosts resources subject to synchronization.
This project is based on the ResourceSync simulator reference implementation developed by Bernhard Haslhofer and Simeon Warner. We left their comments and authorship in all the source files to acknowledge their work.
Any ResourceSync-compliant client can be used to synchronize a Destination with the Source. This version of the server is written against v1.0 of the ResourceSync specification and has been tested with v1.0.2 of the ResourceSync client and library reference implementation.
This server is designed to run under Python 2.6, 2.7, 3.3, 3.4 and 3.5. Check with:
python --version
Manual installation from github:
Install the resync library code and the Tornado web server (you might need to use sudo depending on you local setup):
pip install resync tornado
Get the ResourceSync Prototype Server from Github:
git clone git://github.com/oacore/resync-proto-server.git
Run the source server (with the default configuration in ./config/default.yaml
):
./resync-proto-server
Access from a web browser as http://localhost:8888/
Terminate the source server:
CTRL-C
Parameterized Use Cases can be defined by creating a YAML configuration file (e.g., source1.yaml
and defining a set of parameters:
source: name: Data Interoperability Toolkit folder: /path/to/folder
See the examples in the ./config directory for further details.
Author: Giorgio Basile