couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject fauxton commit: updated refs/heads/master to d733d2b
Date Mon, 21 Jul 2014 17:43:27 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 6d74cfc86 -> d733d2b04


Improve the local running by avoiding PATH mod

You can run without a global install by leveraging the NPM package.json
scripts object.  This alleviates the need to modify your global system
PATH.  By specifying the test script field, you can shortcut testing to:

    npm test


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/d733d2b0
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/d733d2b0
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/d733d2b0

Branch: refs/heads/master
Commit: d733d2b041934704127442bcf0ad172de5a74342
Parents: 6d74cfc
Author: Tim Branyen <tim@tabdeveloper.com>
Authored: Mon Jul 21 11:33:40 2014 -0400
Committer: deathbearbrown <deathbearbrown@gmail.com>
Committed: Mon Jul 21 13:43:22 2014 -0400

----------------------------------------------------------------------
 package.json |  4 +++-
 readme.md    | 12 ++++--------
 2 files changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d733d2b0/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index a955892..60a02f5 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,9 @@
     "grunt-mocha-phantomjs": "~0.3.0"
   },
   "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "grunt test",
+    "couchdebug": "grunt couchdebug",
+    "couchdb": "grunt couchdb"
   },
   "repository": {
     "type": "git",

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d733d2b0/readme.md
----------------------------------------------------------------------
diff --git a/readme.md b/readme.md
index c6497d7..9ecd564 100644
--- a/readme.md
+++ b/readme.md
@@ -39,7 +39,7 @@ You should be able to access fauxton on `http://localhost:8000`
 
     then:
 
-    ./bin/grunt couchdb
+    grunt couchdb
 
     This will install the latest version of Fauxton into `/share/www/fauxton`
 
@@ -49,7 +49,7 @@ You should be able to access fauxton on `http://localhost:8000`
 
 ### To Deploy Fauxton
 
-    ./bin/grunt couchapp_deploy - to deploy to your local [CouchDB instance] (http://localhost:5984/fauxton/_design/fauxton/index.html)
+    grunt couchapp_deploy - to deploy to your local [CouchDB instance] (http://localhost:5984/fauxton/_design/fauxton/index.html)
 
 ## Understanding the Fauxton Code layout
 
@@ -64,12 +64,8 @@ Each module must have a `base.js` file, this is read and compile when Fauxton
is
 Checkout [Jira](https://issues.apache.org/jira/browse/COUCHDB/component/12320406) for a list
of items to do.
 
 ## (Optional) To avoid a npm global install
-    # Add node_modules/.bin to your path
-    # export PATH=./node_modules/.bin:$PATH
-		# Or just use the wrappers in ./bin/
-
     # Development mode, non minified files
-    ./bin/grunt couchdebug
+    npm run couchdebug
 
     # Or fully compiled install
-    # ./bin/grunt couchdb
+    npm run couchdb


Mime
View raw message