Dev Container Setup
Overview
The easiest way to set up a development environment for OpenGRIS Scaler is using the provided dev container.
Prerequisites
To use the dev container, you’ll need:
Visual Studio Code (or any IDE that supports dev containers)
The Dev Containers extension for VS Code
Getting Started
Open the Repository
Open the OpenGRIS Scaler repository in VS Code.
Reopen in Container
When you open the repository, VS Code will detect the dev container configuration and prompt you to reopen in the container. Click “Reopen in Container”.
Alternatively, you can manually trigger this by:
Opening the Command Palette (
Ctrl+Shift+PorCmd+Shift+Pon Mac)Running the command:
Dev Containers: Reopen in Container
Build and Install Dependencies
Once the container starts, open a terminal in VS Code and run:
uv syncThis command will build the project and install all dependencies in a virtual environment located at
.venv/.Activate the Virtual Environment After the project is built and dependencies installed, activate the Python virtual environment with:
source .venv/bin/activate
You can now run and debug Scaler from within the dev container.