Server deployment projects under development
Now there is a demand for a personal project that is being developed into the server needs to demonstrate, and the daily synchronization of development progress.
Project is to use the Vue + SpringBoot development, currently deployed on the same server.
Here to provide a simple and convenient way, neither package, do not download the IDE
Core Tools
SVN / Git, Maven, Npm
not use SVN directly copy the files may be, but to distinguish between the source file and generates run-time copy, such as the front end node_modules, package-lock.json, the rear end .idea, target, if the copy It would be very slow and most likely does not apply to server environments.
front end
Npm install directly dependent on run.
npm install
npm run dev
rear end
First production environment generally labeled jar package is better, but for development projects are being frequently updated a little bit of trouble. Directly into the project directory using the command:
mvn spring-boot:run
Update
The direct use SVN update it, re-run the above command.