Deploy a Function

To deploy a function:

Using the Explorer View

  1. Open VS Code.

  2. Click the EDJX Extension.

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

    If you are already logged in, proceed to the next step.
  4. Click the Explorer view.

  5. Navigate to the folder where the function exists.

  6. Right-click the edjconfig.yaml file within your function folder, and then click Deploy Function.

    vscode function deploy

    A confirmation dialog displays.

  7. Click Yes to proceed with deployment.

Using the Code Viewer

  1. Open VS Code.

  2. Click the EDJX Extension.

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

    If you are already logged in, proceed to the next step.
  4. Open 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.

Using the Command Palette

  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.