Skip to content
derabbink edited this page Aug 6, 2013 · 7 revisions

This section assumes you obtained a compiled version of DistrEx.

There are several ways to run a DistrEx worker. The easiest is probably the standalone .exe.

Standalone .exe

The standalone executable is normally called DistrEx.Worker.Host.exe. This app requires a config file named DistrEx.Worker.Host.exe.config in the same directory. A sample config file for this app can be found here.

Make sure you edit the config file to match your requirements, before you run the app.

Pay attention to the following sections:

Section <configuration><appSettings> (assembly deployment):
Here, two values are defined:

<add key="DistrEx.Plugin.assembly-storage-dir" value="transferred" />
<add key="DistrEx.Plugin.assembly-cache-dir" value="cached" />

Both values are directory names (relative to the application execution path) which will be created when the app starts. Make sure you have write permissions for these two directories, and that there is enough space to store assemblies that your coordinator sends.

Section <configuration><system.serviceModel> (WCF):
Here the WCF service endpoints are defined, i.e. how your coordinator will be able to reach the worker. It's recommended to stick to the sample config, but the gist of it is that you need a <services> section with two <service> children, and a <bindings> section with a binding configuration for each <service> you define.

Read more about setting up WCF.

Windows Service

TODO

Clone this wiki locally