Want to deploy your own vue and express projects on Tencent Cloud and ask for relevant tutorials and methods?

A front-end dog, use vue+express to do a blog, and then rent a minimum configuration Tencent Cloud (centos system)
I want to deploy vue and express projects on the cloud. At present, I only know how to install node and nginx environment first, but where do I put the files in the vue project dist? There are ports and so on, how to configure it?
Why is there no google in this area? no, no, no. Is it my search posture that is wrong? ask the bosses to answer


put your question in the search box, and the answer will be

Baidu search pm2 , use this hang agent, grow up a bit.

deployment is very simple. How you deploy locally is basically the same. It's hard to say exactly. We all troubleshoot errors step by step.

just imagine that Aliyun is a remote computer for you. In fact, the nature of carrying a server on your computer is similar to that of Tencent Cloud. At most, there are some nginx configuration items, port settings (commonly used in 80men3306443), security configuration, and so on. specific server configuration Tencent Cloud official documents all have explanations, be sure to see their documents .

to be more specific, you have been searched and copied a tutorial. You can refer to the whole process from buying a domain name to deploying a node.js project using pm2

.

deploy your vue code using nginx. Pm2 deploys your node code. Search alone in this direction and you can learn how to deploy.


I would like to ask the author whether it has been done and how I arranged it, but if there is a problem, can you communicate

?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b309f8-2bd30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b309f8-2bd30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?