re-added info in readme about permissions for global node modules
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/commit/21073b1b Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/tree/21073b1b Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/diff/21073b1b Branch: refs/heads/cordova-client Commit: 21073b1b194c3a3afb28c024609b28018d26d32b Parents: 0f37c45 Author: Fil Maj <maj....@gmail.com> Authored: Thu Oct 4 10:55:37 2012 -0700 Committer: Fil Maj <maj....@gmail.com> Committed: Thu Oct 4 10:55:37 2012 -0700 ---------------------------------------------------------------------- README.md | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/21073b1b/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 929492d..e4e251a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ v2.1.0. npm install -g cordova ``` +**NOTE**: on Mac OS X, you may want to change the owner of the cordova directory that npm installs to. This will allow you to run cordova as local user without requiring root permissions. Assuming your node_modules directory is in `/usr/local/lib/`, you can do this by running: `sudo chown -R <username> /usr/local/lib/node_modules/cordova` + # Getting Started cordova-client has a single global `create` command that creates new cordova projects into a specified directory. Once you create a project, `cd` into it and you can execute a variety of project-level commands. Completely inspired by git's interface.