Getting Started with SPARK: Advanced Setup

Bootstrap the Virtual Environment Without VS Code

In the event that creating the virtual environment outside VS Code is necessary, follow these steps depending on the operating system.

But first, the bootstrap and activation scripts must be generated.

  1. Open the VS Code command palette by pressing Ctrl+Shift+P.

  2. Type SPARK: Generate Activation Scripts and press Enter.

  1. Open a Command Prompt or PowerShell in the project’s root directory.

  2. Run the bootstrap script by typing:

    $ .\bootstrap.bat
    
  1. Open a terminal in the project’s root directory.

  2. If not already installed, install the curl command-line tool using your Linux distribution’s package manager.

  3. Run the bootstrap script by typing:

    $ source ./bootstrap.sh
    
Bootstrapping the SPARK Virtual Environment.

Bootstrapping the SPARK Virtual Environment.

Activate the Virtual Environment Without VS Code

There might be cases where activating the environment outside of VS Code is necessary. Follow these steps depending on the operating system.

Command Prompt or PowerShell

  1. Open a Command Prompt or PowerShell in the project’s root directory.

  2. Execute the activation script by typing:

    $ .\activate.bat
    

At this point, the virtual environment is activated in the current terminal session.

  1. Open a terminal in the project’s root directory.

  2. Execute the activation script by typing:

    $ source ./activate.sh
    

At this point, the virtual environment is activated in the current terminal session.