Home > Article > Backend Development > How to deploy a development environment on a Mac in the easiest way? Complete in inutes!
After working hard and saving money, I emptied my wallet and bought a new Mac at the end of last month, but I started to have a headache as soon as I got it.
As a developer, I know the importance of "sharpening the knife before cutting wood", so I prepared to install various development tools after I switched to Mac. Since I had always used Windows, I prepared to use Docker to deploy and manage my development environment according to habit.
However, in the process of preparing for installation, I read a lot about Docker's error reporting on Mac, and various environment bugs that are incompatible with ARM64 architecture.
But as a programmer, I must have a spirit of exploration, so I continued to install docker to deploy the development environment without hesitation, but as soon as I sent a command, it reported docker: command not found
I had to start thinking about how many problems I would encounter next... So I started looking for other tools similar to docker on the Internet, but with stronger compatibility on Mac. Hard work pays off, and I finally found a tool that seems to be okay---Servbay. This product is recommended by many articles on the Internet. I thought it was a scam at first, but there are so few similar software available on Mac, so I had to try it out, and the result is-it's really good haha
Next, I will talk about the steps I took to use this tool to deploy my local development environment:
When I got to this point in the installation steps, I was shocked, because I used to use the command line, but now I can click the development framework you need graphically.
With these clicks, it may take about 2 minutes to set up the development environment I need, which I never dared to think of before.
Then I can start developing directly. To be honest, this has improved my efficiency by at least 300%, because I used to waste a lot of time on the deployment of the development environment, and it was easy to report environment bugs later.
I also found a good thing, that is, servbay's support documents are really detailed, and he has corresponding help instructions for which specific framework you use later.
If I hadn't switched to Mac, I might never have discovered this kind of configuration tool for development environments. Thanks to Steve Jobs.
The above is the detailed content of How to deploy a development environment on a Mac in the easiest way? Complete in inutes!. For more information, please follow other related articles on the PHP Chinese website!