Ask questions about the development environment

the development process of the java, backend of our company is to pull the svn warehouse code on its own, and then configure the local server to run the code pulled by svn on the local server. After the local development is completed, the code will be uploaded to the test server.

(the company"s project pages are all jsp, so the front and rear ends cannot be separated for the time being)

and the front end, that is, me, every time after uploading their code to the test server in the background, I modify the code directly on the test server and then preview it. This process is causing people to crash

.

I wonder if I also want to start a server locally to run the code in snv, just like in the background, but this will involve the configuration and connection of the database, which is extremely troublesome

.

do I know anything like me? How did you do that?

Thank you, just let us backstage to help me set it up, the future can be developed locally, thank you!


so the front and rear ends should be separated.

the second choice is to have a development server locally.

it is suggested to discuss with the leader and gradually promote the separation of the front and rear ends as soon as possible.


won't the test kill you if you change the code on the test server?
be reasonable, the development environment should not be on the development branch, so you don't need to change the configuration links or anything, just don't merge the configuration files into other branches.
No matter whether it is separated or not, the code management tool is necessary, and you can only use the same management tool with the back end without separation, so svn .


  • you pull a code to let the java developer help you run the java project on your computer, and you can get ~
by WYSIWYG.

the number of files passed around is too exaggerated ~

  • another way is to write the front-end code directly on the local server and remotely. (recommended! )

it feels better to build a local server, otherwise it would be troublesome to test the library every time


you can build a local server with spring, as we did when we used jsp.


start the service locally

Let the backend give you the service you need and change it locally


FTP development mode ~


learn about the separation of front and rear ends

Menu