0

What software do I need on the Web server to Angular 2 app to get it working? Or I can just upload the files to the web server?

1
  • If your application is compiled, it should work. Commented Nov 1, 2016 at 4:46

2 Answers 2

1

Do you use angular-cli? (I'd recommend you to use it if you haven't). Because you just can do this command on your terminal

ng build -prod --output-path=path/to/home/of/web/server/

What it does, it builds your app and generate dist folder, in this case because you specified the output, it directly generate the dist content inside the path.

Hope it helps.

Sign up to request clarification or add additional context in comments.

Comments

0

Yes, just upload files. Angular is a JavaScripts framework that runs on web browser.Just make sure your all TyperScipt files are complied in JavaScript.

2 Comments

So i need to upload the complete project folder containing the following folders e2e, node_modules and src? Can you be a little bit more specific :)
Yes, when I tested, I upload all things to server. And it was working

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.