Offline Environment

If you are unable to connect to the internet during the setup of the development environment, please reach out to the SPARK support team to obtain a pre-packaged offline environment archive.

Loading an Offline Package

To initialize the environment on a machine with restricted access:

  1. Transfer the generated offline package (or a downloaded one) to the target machine.

  2. Open your project in VS Code.

  3. Set the spark-sdk.defaultEnvironment setting to an empty string by manually editing the .vscode/settings.json file.

    },
    "spark-sdk.autoReload": true,
    "spark-sdk.offlineEnvironmentName": "spark-sdk",
    -  "spark-sdk.defaultEnvironment": "spark-sdk",
    +  "spark-sdk.defaultEnvironment": "",
    "spark-sdk.ignoredEnvironments": [
        "^ci-"
    ],
    
  4. Restart VS Code to apply the changes.

  5. Open the Command Palette (Ctrl+Shift+P).

  6. Execute the command SPARK: Load offline environment.

  7. Select spark-sdk-environment-xxx.ps1 file when prompted.

  1. Transfer the generated offline package (or a downloaded one) to the target machine.

  2. Open your project in VS Code.

  3. Set the spark-sdk.defaultEnvironment setting to an empty string by manually editing the .vscode/settings.json file.

    },
    "spark-sdk.autoReload": true,
    "spark-sdk.offlineEnvironmentName": "spark-sdk",
    -  "spark-sdk.defaultEnvironment": "spark-sdk",
    +  "spark-sdk.defaultEnvironment": "",
    "spark-sdk.ignoredEnvironments": [
        "^ci-"
    ],
    
  4. Restart VS Code to apply the changes.

  5. Open the Command Palette (Ctrl+Shift+P).

  6. Execute the command SPARK: Load offline environment.

  7. Select spark-sdk-environment-xxx.sh file when prompted.