YeoMan(3)Update Version and Generate a Angular Bootstrap Static Pages
1. Upgrade and check the NODE version
Download the binary from here http://nodejs.org/download/, http://nodejs.org/dist/v0.10.31/node-v0.10.31-darwin-x64.tar.gz
but my local machine have the v0.11.13 version, I may download and install that from github, let’s upgrade to the latest.
https://github.com/joyent/node
>git clone https://github.com/joyent/node.git
>git checkout master
>git pull origin master
>./configure --prefix=/Users/carl/tool/node-v0.13.0-pre
>make
>make install
>node --version
v0.13.0-pre
My version is v0.10.32 now.
Upgrade and check the NPM version
>npm update npm -g
>npm --version
2.0.0-beta.0
My version is 1.4.28.
It seem they are not stable. So I will use there version.
>node --version && npm --version
v0.11.13
1.4.24
>sudo npm install --g yo
>sudo npm install bower -g
>sudo npm install grunt -g
>yo --version && bower --version && grunt --version
1.2.1
1.3.9
grunt-cli v0.1.13
Here is the version I current have on ubuntu 14.04
>yo --version && bower --version && grunt --version
1.3.0
1.3.12
grunt-cli v0.1.13
Find all the generators
http://yeoman.io/generators/
>sudo npm install -g generator-angular-bootstrap
>sudo npm install -g generator-angular-fullstack
Actually I get some version problem on MAC book. So I prefer to get a ubuntu virtual machine running with that.
>sudo apt-get update
>sudo apt-get install nodejs
>sudo apt-get install npm
>sudo ln -s /usr/bin/nodejs /usr/bin/node
>node --version && npm --version && python --version
v0.10.25
1.3.10
Python 2.7.6
>sudo npm install -g yo
>sudo npm install -g bower
>sudo npm install -g grunt
>sudo npm update -g yo
>yo --version && bower --version && grunt --version
1.1.2
1.3.12
grunt-cli v0.1.13
Seem to me the version of NPM and YO is not ok.
>sudo apt-get install python-software-properties
>sudo apt-add-repository ppa:chris-lea/node.js
After add the dependency, install the nodeJS again.
>node --version && npm --version
v0.10.32
1.4.28
For the latest NPM, I need this command to install grunt
>sudo npm install -g grunt-cli
>yo --version && bower --version && grunt --version
1.3.0
1.3.12
grunt-cli v0.1.13
>sudo chown -R $USER ~/.npm
This do help on the permission issue for yeoman generator.
2. Create vm for FrontEnd
>sudo apt-get install python-software-properties
>sudo apt-add-repository ppa:chris-lea/node.js
>sudo apt-get install git
>sudo apt-get install nodejs
Link nodejs to node
>sudo ln -s /usr/bin/nodejs /usr/bin/node
>sudo apt-get install npm
>node --version && npm --version
v0.10.25
1.3.10
>sudo npm install -g yo
>sudo npm install -g bower
>sudo npm install -g grunt-cli
>grunt --version && bower --version && yo --version
grunt-cli v0.1.13
1.3.12
1.3.0
Make sure the permission is correct for NPM
>sudo chown -R $USER ~/.npm
Install the yeoman generators
>sudo npm install -g generator-angular
>sudo npm install -g generator-angular-fullstack
>sudo npm install -g generator-restangular
It seems to me only generator-angular is the latest.
Run this to update the yo
>sudo npm update -g yo
Remove all the other generator, only keep generator-angular
>sudo npm remove -g generator-karma
I place a sample in directory easynodejs/yeosample
References:
https://github.com/joyent/node/tree/v0.12
http://yeoman.io/generators/
https://github.com/aacerox/node-rest-client
相关推荐
约曼购物清单 使用Yeoman和FullStack Angular生成器的购物清单
什么是Yeoman? 技巧问题。 没关系是这个人: 基本上,他戴着顶帽子,住在您的计算机中,然后等待您告诉他您希望创建哪种应用程序。 并非每台新计算机都预装了Yeoman。 他住在软件包存储库中。 您只需要问他一次...
imdb-angular 这是使用 SQL Server、Entity Framework、C# .NET Web API、Yeoman、Angular 和 Bootstrap 的 IMDB 应用程序版本的前端。
角铁样板使用Yeoman angular-gulp生成器创建的
Yeoman: $ npm install -g yo 凉亭: $ npm install -g bower 生成器静态角度: $ npm install -g generator-static-angular入门启动生成器: $ yo static-angular 安装依赖项: $ npm install -g bower$ npm ...
-version && npm --version git --version3、Install the Yeoman toolsetnpm install --global yo bower grunt-cli确认是否安装成功yo --version && bower --version && grunt --version4、clone 下来代码执行 npm ...
$ yo angular-fullstack yod3 $ bower install --save jquery d3 nvd3 $ bower install angularjs-nvd3-directives --save $ grunt serve [气泡图]( ) 去做: 护照当地战略 ui路由器 角d3和角nvd3 iphone,ng-...
YeomanAngularTest 这是一个 Yeoman、Grunt、Bower 和 Angular 测试。
generator-ngx-firebase-bootstrap Yeoman生成器,用于基于Angular,Firebase和Twitter Bootstrap创建项目。 该生成器提供了与那些工具的基本集成,并提供了开箱即用的认证框架。产品特点使用angular-cli(Angular ...
yeoman.github.io, Yeoman网站 Yeoman.io Yeoman.io 电子邮件站点 !如果你对 Yeoman.io 网站有问题或者贡献,那么这里就是 ! 如果你想提交有关文书代码或者工作流的问题,请访问文书/文书库管理单元。这个站点是用...
更新生成器 用样式更新您的Yeoman生成器 该脚本可帮助使用Yeoman生成器将存储库更新到最新版本。... update-yeoman-generator --generator < github> / < github> --github-token 运行update-yeoman-generator 确保您
如何使用 发牢骚 #tips此项目是由yeoman创建的 哟angular angular_app
主页我的主页是用 Yeoman generator-angular 制作的。
生成器角度引导 注意:这个模块被弃用了 。 我不打算积极维护此代码。 的生成器。入门什么是约曼?... 要从 npm 安装 generator-angular-bootstrap,请运行: $ npm install -g generator-angular-bootstrap
Yeoman-Angular
yeoman-angular-教程 通过学习如何生成 AngularJS 应用程序。
基于yeoman构建 vue webpack es6 的项目
样式指南生成器 生成器将构建一个简单的样式指南,其中包含bootstrap-sass-official起始文件和都可以使用。入门要启动样式指南项目,您将必须在全球范围内安装Yeoman和Hologram。 # install Yeoman$ npm install -g ...
前端开源库-yeoman-handlebars-engineyeoman车把引擎,在车把中编写yeoman生成器模板
使用yeoman angular-php + composer & laravel