Year: 2018
-
Post Views: 50 1. The code of the Dockerfile is as follows: 2. When building based on Jenkins, the details of the error are as follows, as shown in Figure 1 3. Edit the dockerfile, temporarily cancel the composer related, after the build is successful, run composer -v in the docker container, no response, as shown in Figure 2 4.…
-
Post Views: 14 1. shuijingwan/yii2-app-advanced (github), as shown in Figure 1 (1) Project maintainer: wangqiang (2) Public warehouse:https://github.com/shuijingwan/yii2-app-advanced.git (3) Visible grade of public warehouse: public (4) The maintainer clones from the public warehouse, and performs pull and push in his own local repository (github-shuijingwan-yii2-app-advanced). (5) Branch: long-term branch: master; short-term branch: function (feature) branch, pre-release (release) branch, patch bug (fixbug)…
-
Post Views: 73 1. Delete the controller \API\Controllers\SiteController.php, delete the model \api\models\contactform.php, \api\models\loginform.php, \api\models\PasswordResetRequ estform.php, \api\models\resetpasswordform.php, \api\models\signupform.php, delete the directory (view related) \api\views, \api\assets, \api\web\css 2. Delete the relevant files of the test (unit test, functional test, acceptance test), delete \api\tests\acceptance\homecest.php, delete \API\Tests\Functional\AboutCest.php, \API\Tests\Functional\ContactCest.php, \API\Tests\Functio NAL\HOMECEST.php, \API\Tests\Functional\logincest.php, \api\tests\functional\signupcest.php, delete \API\Tests\Unit\Models\ContactFormTest.php, \API\Tests\Unit\Models\PasswordResetRequestFormTest .php, \api\tests\unit\models\resetpasswordformtest.php, \api\tests\unit\models\signupformtest.php 3. Run all the sample tests,…
-
Post Views: 64 1. Create a new warehouse, shuijingwan/yii2-app-advanced, as shown in Figure 1 Yii 2 advanced project template, the template includes four layers: interface (the API to implement the RESTful style web service service), front-end, back-end and console, each of which is a separate YII application. 2. Successfully created the warehouse, as shown in Figure 2 3. Use the…
-
Post Views: 14 1. Reference URL:https://developer.mozilla.org/zh-CN/docs/learn, as shown in Figure 1 2. Refer to step 4, open the command prompt (Windows) in the computer, refer to the URL:https://www.lifewire.com/how-to-open-command-prompt-2618089, as shown in Figure 2 Open Command Prompt in Windows 10 Tap or click the start button, followed by all apps. if youRe not using the desktop in Windows 10, tap the…
-
Post Views: 55 1. Install React Developer Tools (Chrome, React Developer Tools) to determine whether the build process is correct, as shown in Figure 1 2. When visiting a React page of a development mode, the icon of this tool will have a red background, as shown in Figure 2 This page is using the development of react. Note that…
-
Post Views: 15 1. On the official website:https://nodejs.org/zh-cn/Download the recommended version: 8.10.0 LTS, as shown in Figure 1 2. Right-click to install, prompt: Windows SmartScreen CanT Be Reached Right Now, click the RUN button, as shown in Figure 2 Windows SmartScreen CanT Be Reached Right Now Check your Internet connection.Windows SmartScreen is unreachable and canT help you decide if this…
-
Post Views: 12 1. Reference URL:https://github.com/yiisoft/yii2-coding-standards, as shown in Figure 1 2. Clone the yiisoft/yii2-coding-standards warehouse, as shown in Figure 2 3. Enter the E:\wwwroot\yii2-coding-standards directory, and execute the installation, as shown in Figure 3 cd .\yii2-coding-standards\ composer install 4. Configure the local PHP interpreter, File | Settings → Languages & Frameworks → PHP → CLI Interpreter drop-down list, as…