Tag: Hyperf
-
Post Views: 70 1. Reference:Install Hyperf under Docker in WSL-Ubuntu. Now startup fails:[ERROR]RedisException: Connection refused. as shown in Figure 1 2. The hyperf connection redis fails, and the high probability is caused by one of the following three (redis is not started / the address is wrong / the port is not connected). I am now in the local development…
-
Post Views: 107 Step 1: Create a local project directory in WSL (such as ~/wwwroot/hyperf-skeleton) 2. Modify the mount directory and adapt the path to the local directory. Reference:Hyperf official documentation development under Docker . 3. Create a project in the container, the creation of the project fails, and an error is reported: Your requirements could not be resolved to…
-
Post Views: 42 1. Reference: Build a RESTful API (go.dev) with Go and Ginhttps://go.dev/doc/tutorial/web-service-gin— Go official tutorial for building simple web services with GIN. 2. Install Go. Docker Compose One-click startup (refer to Hyperf project). I want to ‘write a good configuration, a command starts the entire development environment’, which is most convenient to use docker-compose.yml, which is almost the…
-
Post Views: 31 Step 1: Create a local project directory in WSL (such as ~/wwwroot/hyperf-skeleton) 2. Modify the mount directory and adapt the path to the local directory. Reference:Hyperf official documentation development under Docker . 3. Create a project in the container, the creation of the project fails, and an error is reported: Your requirements could not be resolved to…