Appendices

Manuals to using our project, a link to our dev blog and our legal statement

User Manual

Deployment Manual

Clone the repository

Open a terminal and run:

    git clone https://github.com/snaker938/vscode-blueprint-ai
    cd vscode-blueprint-ai
        

Install Node.js dependencies

Install all necessary dependencies for the extension:

    npm run install:all
        

Set up the Python OCR environment

Inside the /python-ocr folder, you have a requirements.txt file, a venv folder, and your project files. Follow these steps to set up the Python dependencies:

1. Change directory:

    cd python-ocr
        

2. Create venv file:

    python -m venv venv
        

3. Activate the virtual environment:

On Windows:

    .\venv\Scripts\Activate.ps1
        

On macOS/Linux:

    source venv/bin/activate
        

4. Install Python dependencies:

    pip install -r requirements.txt
        

5. Build the extension

Compile and prepare the webview:

    npm run build:all
        

6. Launch the Frontend UI

You can launch the frontend UI using one of the following methods:

Method 1: Via Terminal

Change directory into the webview-ui folder and run the development server:

    cd webview-ui
    npm run dev
        

Method 2: Via Visual Studio Code Debugging

Open the project in Visual Studio Code, press the F5 key (or function F5), and then click on the npm: build:all option to launch the extension in debugging mode.

You will need to insert your own OpenAI API key, so make sure you have those ready!