Home  >  Article  >  Backend Development  >  How to deploy a development environment on a Mac in the easiest way? Complete in inutes!

How to deploy a development environment on a Mac in the easiest way? Complete in inutes!

WBOY
WBOYOriginal
2024-09-03 17:13:381126browse

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.

How to deploy a development environment on a Mac in the easiest way? Complete in inutes!

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:

How to deploy a development environment on a Mac in the easiest way? Complete in inutes!

  1. The first thing is to install it. This product, like the App, can be installed directly on the official website, and their official website has the most detailed instructional documentation I have ever seen, and there are videos to teach you how to use it.

How to deploy a development environment on a Mac in the easiest way? Complete in inutes!
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.

How to deploy a development environment on a Mac in the easiest way? Complete in inutes!

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Convert Array Into ArrayNext article:Convert Array Into Array