Deploy a Function

To deploy a function:

  1. Open VS Code.

  2. Click the EDJX Extension.

  3. In the Profile panel, click Connect to EDJX.

  4. Click the Explorer view.

  5. Navigate to the folder where the function resides.

  6. Right-click the edjconfig.yaml file within your function folder.

    vscode function deploy

  7. Click Deploy Function.
    A confirmation dialog displays.

  8. Click Yes to proceed with deployment.

OR

  1. Open VS Code.

  2. Click the EDJX Extension.

  3. In the Profile panel, click Connect to EDJX.

  4. View the file in the code viewer.

  5. Click Deploy at the top of the code.

    vscode function deploy inline

    A confirmation dialog displays.

  6. Click Yes to proceed with deployment.

OR

  1. Open VS Code.

  2. Click View > Command Palette…​.

  3. Enter EDJX: Connect to EDJX.
    A prompt displays.

  4. Enter your username and password.

  5. Click View > Command Palette…​.

  6. Enter EDJX: Deploy Function.

  7. Select the location of the .wasm file.

    vscode function deploy palette

    A confirmation dialog displays.

  8. Click Yes to proceed with deployment.