我如何设置平均值(蒙戈,防爆preSS,角度和安培;节点)堆叠在Nitrous.IO [英] How Do I Set Up The MEAN (Mongo, Express, Angular & Node) stack on Nitrous.IO

查看:126
本文介绍了我如何设置平均值(蒙戈,防爆preSS,角度和安培;节点)堆叠在Nitrous.IO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用即将推出的周末检查两件事情从我2013的项目清单:

I using the upcoming weekend to check two things off of my 2013 project list:


  • 给云计算发展的尝试

  • 尝试ANGULAR.JS

我的比赛计划是建立均值叠加在 Nitrous.IO 然后使用堆栈来完成许多Angularjs教程项目可在网上之一。

My game plan is to set up the MEAN stack on Nitrous.IO and then use the stack to complete one of the many Angularjs tutorial projects available online.

问题:


  1. 我有兴趣听取如果有人设置了平均堆叠氧化亚氮或以其他方式,或如果任何人知道任何好的博客文章,通过流程去的人很少或几乎没有JavaScript开发经验。

  1. I'd be interested in hearing if anyone has set up the MEAN stack on Nitrous or otherwise or if anyone is aware of any good blog post that go through the process for someone with little to no javascript development experience.

另外,如果你已经安装的平均堆在那里,你会做出不同或是否有任何的宝贵资源,我应该知道的任何事情。

Also, if you have setup a MEAN stack are there any things you would do differently or are there any invaluable resources I should be aware of.

一些资源,我发现有用的:

Some Resources I Found Useful:

我一直在网上研究在过去的一周,并已发现了一些重要的资源,但它会很高兴地看到别人发现或者可以建议。下面是一些链接到一些资源,我所遇到的,可能是帮助他人:

I've been researching online for the past week and have uncovered some great resources, but it would be great to see what others have found or can suggest. Below are some links to some resources that I have come across that may be helpful to others:


  1. 楼角启动堆栈 - 多伦多聚会流

  2. Egghead.io 信息角上的一些伟大的视频教程

  3. 谷歌的 有着丰富信息的角度部位。

  4. USC Linux用户组的Youtube视频在亚马逊AWS纬

  1. Building Angular Start-up Stack - Toronto Meetup Stream
  2. Egghead.io Offers some great Video tutorials on Angular
  3. Google's Angular site has a wealth of info.
  4. USC Linux User Group Youtube video on MEAN on Amazon AWS

先谢谢您的任何资源,见解或指导。

Thanks in advance for any resources, insights or guidance.

推荐答案

好吧,这里是如何我顺利地设置了MEAN堆栈上的 Nitrous.IO

Ok, here's how I successfully set-up the MEAN stack on Nitrous.IO.

首先,非常感谢瓦列五卡尔波夫和他的code野蛮人博客。在7月,他有一个标题为博客文章<一个href=\"http://he$c$cbarbarian.word$p$pss.com/2013/07/22/introduction-to-the-mean-stack-part-one-setting-up-your-tools/\"相对=nofollow>介绍MEAN堆栈,第一部分:设置工具。我主要是跟着他的文章,只是做调整由亚硝酸云平台所决定的。

First, many thanks to Valeri V. Karpov and his The Code Barbarian blog. In July he had a blog post titled Introduction to the MEAN Stack, Part One: Setting Up Your Tools. I primarily followed his article, only making adjustment dictated by the Nitrous cloud platform.

因此​​,这里的步骤是:

So here are the steps:


  1. 创建氧化亚氮盒:进入笑气网站和注册一个帐户。的请注意,免费帐户并没有提供足够的存储空间来容纳全部MEAN堆栈的。你至少需要一个开始定价计划 - 为$ 9.99美元每月

  1. Create A Nitrous Box: Go to the Nitrous site and sign-up for an account. Please note the free account does not provide enough storage to accommodate the full MEAN Stack. You'll need at least a "Start" pricing plan - at $9.99 per month.

创建箱的NodeJS :一旦完成注册,并选择一个定价计划,它的时间来创建一个盒子的NodeJS。按照对氧化亚氮站点上的说明。盒子自带pconfigured的NodeJS $ P $。

Create A Nodejs Box: Once you complete your registration and select a pricing plan, its time to create a Nodejs box. Follow the instructions on the Nitrous site. The box comes preconfigured Nodejs.

安装的MongoDB :要在你的机器上安装的MongoDB,在shell提示符下输入:部分安装的MongoDB 您可以确认安装成功通过键入部分启动MongoDB的。要停止键入部分停止的MongoDB MongoDB的服务器。

Install Mongodb: To install Mongodb on your box, go to the shell prompt and type: parts install mongodb You can confirm the installation was successful by typing parts start mongodb. To stop the mongodb server you type parts stop mongodb.

确认您的节点放大器; NPM安装:键入节点在命令提示符。你应该看到一个>是否正确安装节点签字。您现在在节点壳。键入Control-C退出外壳。键入 NPM 在提示符下,你应该看到一些使用的信息

Confirm your Node & NPM Installations: Type node at the command prompt. You should see a > sign if node is installed correctly. You are now in the node shell. Type control-c to exit the shell. Type NPM at the prompt and you should see some usage information

安装防爆preSS :键入 NPM安装前preSS -g -g标志意味着该软件包就会被安装这样你就可以从终端运行它。请注意,如果您使用的是免费的盒子,你会防爆preSS安装为一体的,你的结果可能会在遇到错误超过了分配的存储。

Install Express: type npm install express -g The -g flag means the package will be installed so you can run it from the terminal. Note, if you are using the free box you will likely encounter errors during the Express installation as a result of you exceeded the allocated storage.

从这里你可以按照瓦列里的位于第4步创建防爆pressJS应用的文章。

From here on you can follow Valeri's article at Step 4 Creating an ExpressJS application..

祝你好运和享受。

这篇关于我如何设置平均值(蒙戈,防爆preSS,角度和安培;节点)堆叠在Nitrous.IO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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