How to deploy Angular to the Web

58 views
Skip to first unread message

Maureen Moore

unread,
Nov 22, 2019, 1:44:16 PM11/22/19
to Angular and AngularJS discussion
Most of the angular tutorials I have found by googling require installing node and npm. But to deploy a program to the Web one needs a call to the ng-app and a link to the angular library. I can't install node or npm on my hosting provider so how do I deploy the programs to the Web? What are the tutorials missing?

Govind Karanam

unread,
Nov 22, 2019, 8:42:28 PM11/22/19
to ang...@googlegroups.com
I guess, you need to compile with production configuration locally and copy the content from dist folder to the deployment folder on your hosting machine.

On Sat, 23 Nov 2019, 02:43 Maureen Moore, <maka...@gmail.com> wrote:
Most of the angular tutorials I have found by googling require installing node and npm. But to deploy a program to the Web one needs a call to the ng-app and a link to the angular library. I can't install node or npm on my hosting provider so how do I deploy the programs to the Web? What are the tutorials missing?

--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/9fc46970-02c0-4a5c-9ff6-d1cbfae1925e%40googlegroups.com.

456avijit .

unread,
Nov 23, 2019, 5:26:41 AM11/23/19
to ang...@googlegroups.com
Ng build --configuration
If it's ii's then you need url rewrite module to be installed.
And in web.config have rule to redirect to index.html or start up page.

On Fri 22 Nov, 2019, 6:44 PM Maureen Moore, <maka...@gmail.com> wrote:
Most of the angular tutorials I have found by googling require installing node and npm. But to deploy a program to the Web one needs a call to the ng-app and a link to the angular library. I can't install node or npm on my hosting provider so how do I deploy the programs to the Web? What are the tutorials missing?

--

Maureen Moore

unread,
Nov 23, 2019, 9:06:26 AM11/23/19
to Angular and AngularJS discussion
Thanks


On Friday, November 22, 2019 at 8:42:28 PM UTC-5, Govind Karanam wrote:
I guess, you need to compile with production configuration locally and copy the content from dist folder to the deployment folder on your hosting machine.

On Sat, 23 Nov 2019, 02:43 Maureen Moore, <maka...@gmail.com> wrote:
Most of the angular tutorials I have found by googling require installing node and npm. But to deploy a program to the Web one needs a call to the ng-app and a link to the angular library. I can't install node or npm on my hosting provider so how do I deploy the programs to the Web? What are the tutorials missing?

--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ang...@googlegroups.com.

Maureen Moore

unread,
Nov 23, 2019, 9:07:16 AM11/23/19
to Angular and AngularJS discussion
Thanks


On Saturday, November 23, 2019 at 5:26:41 AM UTC-5, 456avijit . wrote:
Ng build --configuration
If it's ii's then you need url rewrite module to be installed.
And in web.config have rule to redirect to index.html or start up page.

On Fri 22 Nov, 2019, 6:44 PM Maureen Moore, <maka...@gmail.com> wrote:
Most of the angular tutorials I have found by googling require installing node and npm. But to deploy a program to the Web one needs a call to the ng-app and a link to the angular library. I can't install node or npm on my hosting provider so how do I deploy the programs to the Web? What are the tutorials missing?

--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ang...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages