Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.12 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.12 KB

Podslurp

Build Status Coverage Status

Podslurp is an HTTP download server with a minimal JSON API for download statistics.

Installation

git clone https://github.com/pfleidi/podslurp.git && cd podslurp
npm install

Migrations

knex --cwd db/ --knexfile config/database.js migrate:latest

Usage

Usage: index.js --rootpath /path/to/filedir [--port PORT]

Options:
  --rootpath, -r  the root path where the files are located           [required]
  --port, -p      the port to listen on                          [default: 3000]

Run tests

npm install -g gulp
gulp test

Deployment

Add dokku entry to ~/.ssh/config:

Host dokku.roothausen.de
  HostName dokku.roothausen.de
  Port 23456
git remote add dokku dokku@paas.roothausen.de:slurp
git push dokku master

License

The MIT License (MIT)