Skip to main content

Local Setup

Before running Openlane locally, install the base tooling used across the repository.

Required Tools​

Primary Frameworks and Services​

Openlane development commonly touches:

ToolUsed For
entSchema-driven data modeling
atlas and gooseDatabase migrations
gqlgen and gqlgencGraphQL server and client generation
openfgaAuthorization enforcement
koanfConfiguration management

Install Dependencies​

From the repository root:

task install:all

IDE Build Tags​

The core codebase uses build tags for conditional compilation. Configure your IDE with the cli,test,codegen,examples tags, or functions gated behind them will appear undefined and your language server will flag imports as unused.

Add to .vscode/settings.json:

{
"go.buildTags": "cli,test,codegen,examples"
}