Category: Development Tools
-
Post Views: 11 1. TortoiseGit -> Display log, as shown in Figure 1 2. Start: 2019/01/01 to: 2019/12/31, as shown in Figure 2 3. Click the Statistics button, the statistics dialog box will pop up, and click the calculation button. as shown in Figure 3 4. The total number of changes that do not include adding/deleted files: 58807 (38411 (+)…
-
Post Views: 49 1. Force push on GitLab, and report an error: Remote GitLab you are not allowed to push code to a protected branch on this project. as shown in Figure 1 2. Check GitLab – Members – Existing Members and Groups. Master, in theory, has permissions. as shown in Figure 2 3. Repository settings – protected branches –…
-
Post Views: 37 1. Implement the corresponding RPC service of the page in the RPC directory, create a remote procedure call HTTP server, and create a new \RPC\Controllers\ServerController.php 2. Create a new page model \rpc\models\page.php 3. Create a new page controller, \rpc\controllers\pagecontroller.php 4. Then open the URL on the browser side:http://rpc.github-shuijingwan-yii2-app-advanced.localhost/page/create, see the following output: Fa2{u#s11″page_create”}z, as expected 5. Create…
-
Post Views: 19 1. In Postman, the details of the specified resource of the GET request, the response is 200, as shown in Figure 1 2. Check the routing configuration, the code is as follows 3. Check the controller, the code is as follows 4. Details of the specified resource for the POST request in Postman, the response is 404,…
-
Post Views: 14 1. Optimize the composer to automatically load, execute the command: composer dumputoload -o, prompt: deprecation notice: does not comply with PSR-0 autoloading stan Ard. It will not autoload anymore in composer v2.0. As shown in Figure 1 2. After translation, the notification of deprecation: the class does not meet the automatic loading standard of PSR-0. It will…
-
Post Views: 13 1. When executing the Composer Update, the prompt: Package Codeception/Base is abandoned, you should avoid using it. No Replacement was Suggested., as shown in Figure 1 2. Since I am using the Yii 2 advanced project template, look at composer.json on github, and find that there are no dependencies: codeception/base, refer to:https://github.com/yiisoft/yii2-app-advanced/blob/2.0.35/composer.json, as shown in Figure 2…
-
Post Views: 16 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…
-
Post Views: 55 1. Reference website: https://www.shuijingwanwq.com/en/2020/04/09/9889/ , adjust the group and name of the project in gitlab. 2. After configuring in jenkins, an error is reported: repositoryhttps://gitlab.chinamcloud.com/pcs/pcs_api.git/not found, as shown in Figure 1 3. The user list under the analysis group PHP, there is a user: JenkinsIntegration, as shown in Figure 2 4. In the user list under the…
-
Post Views: 47 1. The group of the existing project and its names are: PHP, PCS-API, as shown in Figure 1 2. In settings -> general -> advanced settings, the php in the path is not allowed to be modified, as shown in Figure 2 3. In Settings -> General -> Export Project, export the project and all related data,…