Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Running the Project

  1. Replace the manifest.txt file in the ./TA/ directory with the manifest.txt file used for applying for a developer certificate.
    Figure 1 Replacing the manifest.txt file
  2. Change the value of TA_UUID in the hello_world_ca.h file in the ./CA/ directory to the value of the gpd.ta.appID field in the new manifest.txt file.
    Figure 2 Changing the value of TA_UUID
  3. Change the absolute paths of the developer private key file and config file in ./TA/config_cloud.ini.
    1. Change the value of secSignKey to the absolute path of private_key.pem.
    2. Change the value of configPath to the absolute path of config.
      Figure 3 Changing the file paths
  4. Access the Kunpeng DevKit, click the Development tab and then the Compile button in the Compiler and Debugger area to perform compilation. See Figure 4.
    Figure 4 Compilation
  5. Click in the upper right corner of the page. On the displayed page, choose General Settings > Target Server Management. Then click Login in the Operation column of the target server to log in. See Figure 5.
    Figure 5 Logging in to the target server
  6. View the compilation result.
    1
    2
    cd /vendor/bin/
    ll
    

  7. Run the demo.
    1
    /vendor/bin/hello-world
    
    Figure 6 Running the demo
  8. Click in the upper right corner of the page, choose Project Settings, and click the Compile tab. On the displayed page shown in Figure 7, modify the compilation configuration parameters, click Save, and then click Compile to compile the project again.
    Figure 7 Modifying compilation parameters