Skip to content

natashadsilva/samples-fileserver

Repository files navigation

Zip file server for Streams samples

Since it is not currently possible to download individual folders from Github, this small app, hosted on the IBM Cloud, hosts and serves the zip files for the samples in the Streams samples catalog.

The initialize.sh script is run automatically from IBM Cloud whenever a change is made to this repository.

Server written for Python 2

Run the server locally

Run initialize.sh then run python server.py This will start a local server

Tests

The test folder has tests that use curl to verify the that the generated zips are the same as what is served by the fileserver. Run tests:

  • Make sure server is running (using instructions above)
cd test
./run_test.sh

Check the latest failure_20xx file for results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published