Deploy a Function
To deploy a function:
Using the Explorer View
-
Open VS Code.
-
Click the EDJX Extension.
-
In the Profile panel, click Connect to EDJX.
If you are already logged in, proceed to the next step. -
Click the Explorer view.
-
Navigate to the folder where the function exists.
-
Right-click the
edjconfig.yaml
file within your function folder, and then click Deploy Function.A confirmation dialog displays.
-
Click Yes to proceed with deployment.
Using the Code Viewer
-
Open VS Code.
-
Click the EDJX Extension.
-
In the Profile panel, click Connect to EDJX.
If you are already logged in, proceed to the next step. -
Open the file in the code viewer.
-
Click Deploy at the top of the code.
A confirmation dialog displays.
-
Click Yes to proceed with deployment.
Using the Command Palette
-
Open VS Code.
-
Click View > Command Palette….
-
Enter EDJX: Connect to EDJX.
A prompt displays. -
Enter your username and password.
-
Click View > Command Palette….
-
Enter EDJX: Deploy Function.
-
Select the location of the
.wasm
file.A confirmation dialog displays.
-
Click Yes to proceed with deployment.