Anil Kumar Pandey
Anil Kumar Pandey

Reputation: 1927

How to run my angularJs app into hosted server

I am new for angularJs development... I have successfully installed "yeoman" into my PC(I am using windows-7 64-bit system) and my app folder structure is:

I am using "grunt server" command for running my application in localhost, But my question is that.. suppose I want to upload my app into hosted server, So which files should I upload into server and how to run the app, Is there any option to run "grunt server" command into server. So please give me some suggestion for this.

Upvotes: 5

Views: 5233

Answers (1)

Sindre Sorhus
Sindre Sorhus

Reputation: 63487

Just run grunt which builds a distributable version of your app into the dist folder. You then upload the contents of that folder to your preferred hosting provider.

Upvotes: 4

Related Questions