SlapOS Home SlapOS

    Web Runner Request HTML5 Development Environment

    • Last Update:2016-11-10
    • Version:001
    • Language:en

    Request Parameters for pre-built HTML5 environment

    Here are the parameters needed to request the runner to build an HTML5 development environment

    <?xml version="1.0" encoding="utf-8"?>
    <instance>
    <parameter id="slapos-software">software/html5ide</parameter>
    <parameter id="slapos-reference">software/html5ide</parameter>
    <parameter id="auto-deploy">true</parameter>
    <parameter id="autorun">true</parameter>
    </instance>
    

    Here is a detail of the parameters:

    • slapos-software: relative path of the directory hosting the 'software.cfg' file to use, here html5ide
    • slapos-reference: Commit/Branch of reference to use for the slapos repository
    • auto-deploy: Set to true, the runner will build the software release selected previously
    • autorun: Set to true, the runner will automatically deploy the services

    NOTE: Once the instance inside the runner is deployed get the 'server_url' in the 'Connection Information' Tab. Then add the parameter 'custom-frontend-backend-url' with value your 'server_url' ex:

    <parameter id="custom-frontend-backend-url">https://[2001:67c:1254:9c::875c]:6666/</parameter>

    This will request a frontend access to your instance. You will then get an access in the 'custom-frontend-url' in Connection Parameters of your Runner instance