How to start the SpringCloud project, let him run!

When the company gave me a SpringCloud project, I really didn't know how to run. I learned it, but I really couldn't run when I got it.

If you run the registry and configuration center on your company’s server, you don’t need to look at it, just run the project you want to run, because the code pulled down must default to the server’s registry and configuration center. It must write the address of the registry and configuration center on the server. Then just run and it's over. Should be able to get up.

Then, let’s talk about the solution if there is no registry and configuration center on the server (this is rare).

Because there is no server, we have to start locally, the service center and the configuration center.

Start the eureke registration center, then the config configuration center, and then start the project.

Guess you like

Origin blog.csdn.net/weixin_44126152/article/details/108925449