你在你的 vagrant (vm) 中运行 yeoman/gruntjs [英] Do you run yeoman/gruntjs inside your vagrant (vm)

查看:28
本文介绍了你在你的 vagrant (vm) 中运行 yeoman/gruntjs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我想开始使用 yeoman (Gruntjs/requirejs/bower),但我想知道这是否可以从您的 vm 内部完成,或者将它安装在我的主机 (OSX) 上对我的工作流程会更好?据我所知,您需要有几个依赖项,例如 node.js.

So I want to start using yeoman (Gruntjs/requirejs/bower), but I was wondering if this could be done from inside your vm or would it be better for my workflow to have it installed on my host machine (OSX)? As far as I know you need to have a couple dependancies like node.js.

这是一个主观的东西还是有指导方针?

Is this a subjective thing or is there a guideline?

推荐答案

正如@matt-cooper 所说,这是一个主观的东西.

As @matt-cooper said, it's a subjective thing.

就我个人而言,我在我的主机上运行它,因为那是 git 和我的 IDE 所在的地方,我认为 Yeoman 等是属于后端代码之外的开发工具,而在我的 VM 中,我希望它反映我的部署服务器不需要满足与 Yeoman 相同的要求.

Personally, I run it on my host because that's where git and my IDE live and I consider Yeoman etc to be development tools that belong outside the backend code, whereas inside my VM I expect it to reflect my deployment server which doesn't need to meet the same requirements as Yeoman.

这篇关于你在你的 vagrant (vm) 中运行 yeoman/gruntjs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆