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:
Transfer the generated offline package (or a downloaded one) to the target machine.
Open your project in VS Code.
Set the
spark-sdk.defaultEnvironmentsetting to an empty string by manually editing the.vscode/settings.jsonfile.}, "spark-sdk.autoReload": true, "spark-sdk.offlineEnvironmentName": "spark-sdk", - "spark-sdk.defaultEnvironment": "spark-sdk", + "spark-sdk.defaultEnvironment": "", "spark-sdk.ignoredEnvironments": [ "^ci-" ],
Restart VS Code to apply the changes.
Open the Command Palette (
Ctrl+Shift+P).Execute the command
SPARK: Load offline environment.Select
spark-sdk-environment-xxx.ps1file when prompted.
Transfer the generated offline package (or a downloaded one) to the target machine.
Open your project in VS Code.
Set the
spark-sdk.defaultEnvironmentsetting to an empty string by manually editing the.vscode/settings.jsonfile.}, "spark-sdk.autoReload": true, "spark-sdk.offlineEnvironmentName": "spark-sdk", - "spark-sdk.defaultEnvironment": "spark-sdk", + "spark-sdk.defaultEnvironment": "", "spark-sdk.ignoredEnvironments": [ "^ci-" ],
Restart VS Code to apply the changes.
Open the Command Palette (
Ctrl+Shift+P).Execute the command
SPARK: Load offline environment.Select
spark-sdk-environment-xxx.shfile when prompted.