Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 693 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 693 Bytes

A python file server that replicates part of the Mesos files endpoint API for backwards compatibility.

See http://mesos.apache.org/documentation/latest/endpoints/files/download/ http://mesos.apache.org/documentation/latest/endpoints/files/read/ and http://mesos.apache.org/documentation/latest/endpoints/files/browse/

Building

pip install dependencies:

$ pip3 install -e .

Running

Usage:

The COOK_WORKDIR environment variable must be set. Only files with COOK_WORKDIR as the root will be served.

cook-sidecar --file-server-port PORT

Run cook-sidecar --help for full usage documentation.

Examples:

$ cook-sidecar --file-server-port 8000