Browse Source

grunt vs grunt-cli, notes about global installation

Changes done adressing the following comments
https://github.com/amber-smalltalk/amber-examples/pull/49/files#r18026252
https://github.com/amber-smalltalk/amber-examples/pull/49/files#r18026307
https://github.com/amber-smalltalk/amber-examples/issues/50#issuecomment-56827964
Hannes Hirzel 9 years ago
parent
commit
9e6741bcb5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -12,7 +12,7 @@ Tools needed
 3. [nodejs](http://www.nodejs.org/). This will give you the node package manager `npm` as well.
 4. A global install of the [`amber`](http://amber-lang.net/) [npm](http://npmjs.org/) package
 5. A global install of the [`bower`](http://bower.io/) client side package manager in order to install the dependencies
-6. A global install of the [`grunt`](http://gruntjs.com/) task runner which is used as the command line build system 
+6. A global install of the [`grunt-cli`](http://gruntjs.com/) task runner which is used as the command line build system 
 
 The `amber` and `bower` packages can be installed with the following command (In some cases you have to call `npm` with `sudo npm`):
 
@@ -72,6 +72,8 @@ Notes
 =====
 
 - Since Amber version 0.10.0 [`grunt`](http://gruntjs.com/) is used as commandline build system.
+- `grunt-cli`: The grunt package gets installed locally into every project by the grunt-cli.
+- For the global and local installation of the `amber-cli`, `bower` and `grunt-cli` command line tools: The recommendation is to install them with the `-g` or `--global` option to be globally accessible. For some uses of these tools it is  taken it for granted they are installed globally.  So if you use a restricted environment where you  cannot install the command line tools globally, try do it locally and some tools might still work. There will be feedback messages if there are problems with this. For a local installation use your home directory or a subdirectory ~/bin of it. Run the  `npm` install commands without without the `-g` option, and you will find all the commands in the `dir_used/node_modules/.bin` subdirectory. Generally a local installation is not recommended.
 
 
 Status