如何承载域的angularjs应用 [英] How to host an angularjs app in domain

查看:111
本文介绍了如何承载域的angularjs应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前学习创建一个简单的应用AngularJs。

这是我的第一个MVC应用程序,所以我的问题可能是很基本的。


  1. 我明白,我们需要向的NodeJS运行Angularjs应用程序,所以将托管服务提供商,已经与他们的服务器上安装Node.js的?


  2. 如果是这样,它确实托管服务提供商支持:Angularjs,Emberjs或Knockoutjs?目前,我的客户有HostGator的和netfirms。


  3. 在阅读一些帖子,我了解到他们与角的js喜欢哟,咕噜,鲍尔用一些术语,所以我只是想知道这是什么用?


  4. 有谁能够告诉你究竟是如何举办AngularJs应用?



解决方案

如果您要部署客户端只角的应用程序(即你没有自定义服务器code),那么你可能想退房火力地堡托管。它是专门为托管使用角度,余烬,反应过来,等客户端应用程序而设计的。

火力地堡的主机将让你在命令行中没有部署管理自己的服务器(没有的NodeJS),它处理SSL,CDN和其他最佳实践适合你。

(声明:我对工作的火力地堡)

Currently Learning to create a simple AngularJs App.

This is my first MVC app, so my questions may be very basic.

  1. I understand that we require nodejs to run the Angularjs App, so will the hosting provider have the node.js installed with their server?

  2. If so, which does the hosting provider support: the Angularjs, Emberjs, or Knockoutjs? Currently my client have hostgator and netfirms.

  3. While reading some posts, I learned a few terms which they use with Angular js like Yo, Grunt, Bower, so I just wanted to know what is this used for?.

  4. Can anybody tell how exactly you host the AngularJs app?

解决方案

If you're deploying a client-side only Angular application (ie. you don't have custom server code), then you might want to check out Firebase Hosting. It's specifically designed for hosting client-side applications that use Angular, Ember, React, etc.

Firebase's Hosting will let you deploy from command line without managing your own servers (no NodeJS), and it handles SSL, CDN, and other best practices for you.

(Disclaimer: I work for Firebase)

这篇关于如何承载域的angularjs应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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