1.Imitate a project, written in express + mongodb + vue, can run up in the local NPM rudev, want to deploy to Aliyun, how to operate?
2.Just upload the dist directly after the NPM run build, and only the NPM run dev in the simulated project. So how do you put it in Aliyun?
3.Thank you for your advice. I wish you 6.1 happiness.
1、Build a git repository on your EC2 and get all the local code push up. The premise is that you will be GIT. Svn is the same.
Now the server installs these dependencies.
Use some transmission tools to send code to the server.