-1

I have developed an angular 2 app using Angular-CLI on my local server. I have finished my production phase, now I want to upload it on a server using Putty. I am using CentOS server.

I have done some research form here like installing node and npm to server but didn't get to the end results.

Can anyone help me with that?

Bhuwan
  • 16,525
  • 5
  • 34
  • 57
  • take look at [here](https://stackoverflow.com/questions/35539622/how-do-you-deploy-angular-2-apps) – Vala Khosravi Oct 05 '17 at 06:54
  • 1
    You need to be more specified in your question. 1. Hosting in which server? your personal or some cloud? 2. Remember, putty is just an application you use to communicate with another server through some protocol, for example, using SSH, Telnet. 3. What kind of access do you have to the server. FTP, SSH or any admin control panel? – Muneer Oct 05 '17 at 06:57
  • @BlueBird I am hosting it on my server which have CentOS. – Bhuwan Oct 05 '17 at 08:42
  • If you are using putty, I assume you are using windows. So, download the WinSCP and copy the files to your CentOS Aapache dir over SFTP protocol. – Muneer Oct 05 '17 at 08:53

1 Answers1

3

In general, you can deploy under an Apache web server. you can find the all necessary work you need to do for deployment in this link

https://angular.io/guide/deployment

Muneer
  • 7,384
  • 7
  • 38
  • 62