Everyone, how do you build the environment for learning, developing, and checking locally? Perhaps many people own a Mac and many use Docker.
I currently own an HP SPECTER X360 13, Windows 10 Home. It's Windows 10 Home. It's not powerless to say that it's a laptop, but while launching Vagrant, it's quite a fan enthusiast. And it's not fast at all. In addition, WSL2 and Docker for WSL have not yet been officially released at this time.
Then what should we do? https://laragon.org/
This is Laragon. With AMP environment construction software for Windows ** Supports PHP, Node.js, Python, Java, Go, Ruby **, ** You can switch between using Apache or Nginx **. Let's install it now.
https://github.com/leokhoa/laragon/releases
Let's drop the latest version from Github. If you are a beginner who has no experience in building an environment, choose laragon-full.exe. From now on, we will proceed based on this.
The default installation destination is C: \ Laragon so that it is easy to understand if you are not particular about it.
When using VS Code etc., leave "Add Sublime Text & Terminal" unchecked. By the way, Notepad ++, WinSCP, Putty, HeidiSQL Portable, etc. are installed, so you can develop with just this one installation.
Let's start it. This screenshot shows PHP 7.4 because you can add it later yourself. When you press "Web", the host name is set to "localhost" and the port number is set to 8080. "http://localhost:8080/" The browser opens in the form of. HeidiSQL in "database" Start Cmder in "Terminal". "Root" displays the set root folder. The location displayed on the "web" will be the same. The settings are made with the settings that can be displayed from the gear mark on the upper right.
This time, I will introduce PHP as an example. https://windows.php.net/download/ I will download the one to use from. After unzipping the folder Add it to C: \ laragon \ bin \ php . For Python, it looks like C: \ laragon \ bin \ python . Select the version to use after adding from the menu on the upper left. From here, you can switch the language and version used at startup.
Not currently compatible with Mac, if not all-purpose It is light and easy to use, so it helps you to work quickly in your spare time. It is especially recommended for those who are worried about the development environment with Windows 10 Home as the OS.
Recommended Posts