Warning

The product is in closed beta and not open to the public.

Deploy a Lock server

Prerequisite

Install and start PostgreSQL. An administrator account is needed only while initializing the VisionByte database.

Initialize PostgreSQL

On the VisionByte server, initialize the PostgreSQL database:

vb pq init

Unless supplied as options, vb pq init prompts for:

  • PostgreSQL host

  • PostgreSQL port

  • VisionByte database name

  • PostgreSQL administrator user

  • PostgreSQL administrator password

  • VisionByte runtime user

  • VisionByte runtime password

It creates the database and schema, creates the restricted runtime role, enables forced row-level security, and saves the runtime connection. The administrator password is not saved.

After initialization, verify the saved runtime connection:

vb pq test

The command prints the connection host, port, database, and runtime user, then reports PostgreSQL connection OK when the connection succeeds.

Start the VisionByte server after vb pq test succeeds:

vb server --port 8080 project.vbyte

Verify locks

From a client, lock a tracked file, inspect it, then release the lock:

vb lock Content/Hero.uasset
vb lock-info Content/Hero.uasset
vb unlock Content/Hero.uasset

The commands should report LOCK, show the lock in lock-info, then report UNLOCK. vb lock-info alone succeeds with no output when no files are locked.