Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.11 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.11 KB

BuildX front-end

Front-end for BuildX, built with Next.js and @opensystemslab/buildx-core

Getting Started

Development

Install dependencies:

pnpm install

Configure Mapbox:

Create a .env.local file in the root directory with your Mapbox access token:

NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your_access_token_here

You can obtain an access token from your Mapbox access token settings.

Start the development server:

pnpm dev

Navigate to localhost:3000

Configuration

The application can be configured via buildx-app.config.json:

{
  "takedown": "false", // Display takedown message instead of main site
  "cuttingFiles": "true" // Show/hide cutting file downloads in orders
}

The takedown message can be customized in app/layout.tsx

To update configuration, either edit buildx-app.config.json locally and deploy, or modify directly through GitHub's interface. Changes take effect after deployment.