Prerequisites
Node.js 24.14.x
Required runtime version
Bun 1.2.16
Fast JavaScript runtime and package manager
Task
Task runner for automation
Git
Version control
Installation
Run automated setup
For macOS users, use the Task automation:This will:
- Install Bun
- Install dependencies
- Set up pre-commit hooks
Manual setup for Linux/Windows
Manual setup for Linux/Windows
If you’re on Linux or Windows, install dependencies manually:
-
Install Bun:
-
Install dependencies:
-
Set up pre-commit hooks:
Configure environment
Copy the example environment file to the console app:Edit
Turbo v2 requires the
.env file to live in the app directory, not the root../apps/console/.env and configure at minimum:Setting up OAuth providers
Setting up OAuth providers
GitHub OAuth:
- Go to GitHub Developer Settings
- Create a new OAuth App
- Set callback URL to
http://localhost:3001/api/auth/callback/github
- Go to Google Cloud Console
- Create OAuth 2.0 credentials
- Set authorized redirect URI to
http://localhost:3001/api/auth/callback/google
Start the backend API
The console requires the Openlane Core backend. Follow the setup instructions in the core repository:The API will be available at
http://localhost:17608.Start development servers
Back in the Or run individual apps:
openlane-ui directory, start all applications:Access the applications
- Console: http://localhost:3001
- Storybook: http://localhost:6006
Successfully running? Continue to the Console Overview to learn about the application’s features.
Available Commands
Project Structure
Troubleshooting
Cannot login with test user
Cannot login with test user
Make sure
NEXT_PUBLIC_ALLOWED_LOGIN_DOMAINS is either empty (to allow all domains) or contains your test user’s email domain.Build errors or missing dependencies
Build errors or missing dependencies
Try a clean reinstall:
Port already in use
Port already in use
If ports 3001 or 6006 are in use, you can change them in the app’s
package.json:GraphQL connection errors
GraphQL connection errors
Verify the backend API is running:Check that
NEXT_PUBLIC_OPENLANE_URL in your .env matches the backend URL.Next Steps
Console Features
Learn about the compliance management features
Component Library
Explore the UI component library
Architecture
Understand the monorepo structure
Contributing
Contribute to the project