Category: Laravel Sail
-
Post Views: 15 1. Execute the command: Sail Artisan migrate, report an error: chmod(): operation not permitted. as shown in Figure 1 2. Run the following command to reload the file: Sail composer dump-autoload, report an error: in filesystem.php line 207: chmod(): operation not permitted. script @php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 1. as…
-
Post Views: 15 1. Laravel 8.x is deployed to Heroku, and when the database data filling is executed, an error is reported: class “faker\factory” not found. as shown in Figure 1 2. Edit composer.json , copy “fakerphp/faker” in “require-dev” to “require”. as shown in Figure 2 3. If there is a program that may affect the running of the local…
-
Post Views: 22 1. In the local development environment, Laravel Sail has been deployed based on the deployment. Open URL:http://weibo.test/, the response 200. as shown in Figure 1 2. Register a Heroku account and use @163.com to find that it is not allowed, and finally use @gmail.com, the registration is successful. as shown in Figure 2 3. Click the link…
-
Post Views: 57 1. Install Nginx Proxy Manager, open the Windows Terminal command line, and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Enter the user root directory, create a new directory: proxy-manager, enter the directory: proxy-manager, create a file: docker-compose.yml. as shown in Figure 2 3. Edit the file: docker-compose.yml, save and…
-
Post Views: 16 1. In the Ubuntu system in WSL2, execute the command: sudo apt install php7.4-cli, report an error: e: failed to fetchhttp://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb404 Not Found[IP: 91.189.88.152 80]. as shown in Figure 1 2. Based on the prompt information, run apt-get update. as shown in Figure 2 3. Execute the command again: sudo apt install php7.4-cli, no error is reported.…
-
Post Views: 16 1. Use Composer to create an application called weibo. Open the Windows Terminal command line and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Ubuntu, as a Windows subsystem, can access the hard disk under the main system. In order to facilitate the management code, I have already created the…
-
Post Views: 111 1. Laravel Sail requires Windows 10 systems that support WSL 2. The 2004 version released in May 2020 only supports the WSL 2 function, so our system needs to be updated to the 2004 version equal to or greater than the 2004 version. To view the system version, you can use the winver command, refer to Windows…