dev-s3-server
v1.0.2
Published
A dummy S3 server that you can run locally.
Downloads
16
Readme
S3 Dev Server
Installation
$ npm install s3-server -g
$ s3-server
Alternatively, to integrate into a project:
$ npm install s3-server --save-dev
and add s3-server
to your package.json
script line.
Usage
Usage: s3-server [args]
Options:
-c, --config Load a config file from the filesystem. This supersedes all
other settings [string]
-d, --data Load data directory from filesystem [string]
-h, --hostname The hostname or ip for the server [string]
-p, --port The port number of the http server [number]
-b, --bucket The bucket name (if unspecified, defaults to the name of the
data folder) [string]
--help Show help [boolean]
A demo config file is located in the config
folder. The dev.json
file points to the data
directory which contains some sample data.
TODO
- Tests! Tests! Tests!
- Add ability to use programmatically