Permalink
Browse files

include LICENSE and bin

  • Loading branch information...
1 parent 74b11b5 commit 194b20456628a22283c0348d89e5a5e688e69186 @suwanny committed Nov 21, 2012
Showing with 46 additions and 2 deletions.
  1. +22 −0 LICENSE
  2. +4 −0 README.md
  3. +9 −0 bin/redis-futon
  4. +11 −2 package.json
View
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2012 Soo Hwan Park
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
View
4 README.md
@@ -29,6 +29,10 @@ A Web Interface for Redis - The goal for this app provides a couchdb-futon like
#### when redis is running already
+ ./bin/redis-futon 5985
+
+or
+
node index.js 5985
#### with redis-server (when there is no running redis)
View
9 bin/redis-futon
@@ -0,0 +1,9 @@
+#!/usr/bin/env node
+
+var path = require('path');
+var fs = require('fs');
+var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
+
+require(lib + '/lib/config');
+
+new FutonServer().start(parseInt(process.argv.splice(2)[0]) || 5985);
View
13 package.json
@@ -2,7 +2,7 @@
"name": "redis-futon",
"version": "0.0.1",
"description": "Redis Web Interface",
- "main": "lib/main.js",
+ "main": "index.js",
"dependencies": {
"redis": "0.8.1",
"coffee-script": "1.3.3",
@@ -16,9 +16,18 @@
"jasmine-node": "1.0.26",
"uglify-js": "1.3.0"
},
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "https://raw.github.com/suwanny/redis-futon/master/LICENSE"
+ }
+ ],
"directories": {
"doc": "docs"
},
+ "bin": {
+ "redis-futon": "./bin/redis-futon"
+ },
"scripts": {
"test": "rake spec"
},
@@ -30,6 +39,6 @@
"redis",
"futon"
],
- "author": "Soo Hwan Park",
+ "author": "Soo Hwan Park (suwanny at gmail dot com)",
"license": "BSD"
}

0 comments on commit 194b204

Please sign in to comment.