Article From:https://segmentfault.com/q/1010000009606738
Question:

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.

Answer 0:

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.
2、ftpUpload code.

Answer 1:

Now the server installs these dependencies.
Then configure.
Use some transmission tools to send code to the server.

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *