light-swift
Openstack Swift API implementation in Node.js
Last updated 4 years ago by bancek .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install light-swift 
SYNC missed versions from official npm registry.

Light Swift

Openstack Swift API implementation in Node.js.

Installation

$ npm install -g light-swift

Quick Start

The quickest way to get started with light-swift is to utilize the executable light-swift to run the sample application using memory backend.

$ light-swift

MongoDB backend

$ light-swift -a account -u username -k password -b mongo -t '["mongodb://localhost/lightswift"]' -s filesystem -o '["/tmp/lightswiftstorage"]'

MySQL backend

$ echo 'CREATE DATABASE `lightswift` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;' | mysql -u root
$ light-swift -a account -u username -k password -b mysql -t '["mysql://root:@localhost/lightswift"]' -s filesystem -o '["/tmp/lightswiftstorage"]'

Filesystem backend

$ light-swift -a account -u username -k password -b filesystem -t '["/tmp/lightswiftbackend"]' -s filesystem -o '["/tmp/lightswiftstorage"]'

Development

$ npm install

Run tests

$ MONGO_URL=mongodb://localhost/lightswifttest MYSQL_HOST=localhost MYSQL_USERNAME=root MYSQL_PASSWORD= MYSQL_DATABASE=lightswifttest cake test

Coverage

$ MONGO_URL=mongodb://localhost/lightswifttest MYSQL_HOST=localhost MYSQL_USERNAME=root MYSQL_PASSWORD= MYSQL_DATABASE=lightswifttest cake coverage

Open coverage.html

Authors

Crafted by highly motivated engineers at Koofr and, hopefully, making your day just a little bit better.

Current Tags

  • 0.3.5                                ...           latest (4 years ago)

13 Versions

  • 0.3.5                                ...           4 years ago
  • 0.3.4                                ...           4 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.2                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
  • 0.2.5                                ...           6 years ago
  • 0.2.4                                ...           7 years ago
  • 0.2.2                                ...           7 years ago
  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 13
Dependencies (11)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |