Front-end for BuildX, built with Next.js and @opensystemslab/buildx-core
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
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.