docs / plm / The PLM server

The PLM server

The BREP PLM server (brep-plm) is a self-hosted product lifecycle management server for the BREP CAD application. It keeps a team's CAD documents under revision control on a machine the team runs: parts with part numbers, revisions with a lifecycle, explicit check-out, bills of materials, reviews and workflows, attachments, and an audit log of every change.

It is one executable and one data directory. The database is SQLite, built into the server, so there is no database server or system library to install.

What it does

How the CAD app connects

The CAD app works in one of two modes, chosen when it starts:

The desktop app connects when it finds a server URL on its command line, in the BREP_PLM_URL environment variable or in plm.json in its config directory. The PLM server can also host the web build of the CAD app on its own address, where it signs in with your PLM browser session. See Connecting the CAD app.

The server never runs the CAD kernel itself. Anything that has to build geometry (a family member, a template copy, a forced resave) is queued for a bake worker: the desktop app started with brep-app --bake-worker.

Quick start

brep-plm serve --data ./plm-data --bind 127.0.0.1:8088

The first run creates plm-data/, creates an admin account and prints its generated password once. Open http://127.0.0.1:8088/, sign in as admin, and follow the setup wizard. Create a second administrator before you lose the first password: it cannot be recovered.

Then point a CAD app at it:

brep-app --plm-configure http://127.0.0.1:8088
brep-app

and sign in on the PLM tab of the app's Settings window.

Pages in this section

PageCovers
Running the serverbrep-plm commands and options, the data directory, first sign-in, TLS and proxies, backups, restore and export, hosting the CAD app
Users and permissionsgroups, API tokens, sessions, the sign-in throttle, settings
Parts, revisions and check-outpart types and numbering, revisions and their lifecycle, check-out and check-in, release, superseded revisions
Reviews and workflowsreview rounds, approvals, the inbox, workflow processes and forms, scripts
Catalog, BOMs and sourcingcategories and attributes, uses lists, BOMs, where-used, Replace everywhere, sourcing
Attachments and workspacesfiles on parts and revisions, personal workspaces
Families, templates and the bake workerGenerate, spin-out, the bake queue and its worker
Connecting the CAD app--plm-* switches, plm.json, signing in, the PLM pane, superseded parts in assemblies
The web workbenchthe browser interface, page by page
The HTTP APIauthentication and the route families