简体   繁体   中英

How to deploy a node,angular,mysql app to hostinger vps

I want to deploy a node/angular/mysql app to a hostinger VPS server but unfortunately, I can't find any tutorial on how to do that. so if anyone deployed a node app to hostinger before; please tell me how to do so or give me any useful reference or tutorial that can help me

  1. First of all upload all your node/angular code to GitHub or any other alternatives.
  2. Clone your code into hostinger VPS so now your code will be on VPS
  3. After that you can create one installation script which basically installs libraries that are required by node/angular apps or you can manually run commands.
  4. After your installation is finished you need one proxy server like Nginx. This is needed because when someone hits a domain you have to configure whether this API request is for angular page or node API. Usually API backend request will start with domain/api/... so it will directly hit the backend server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM