Skip to main content

Running the Glean Server

Typically the Glean server is invoked as:

glean-server --db-root <dir> --schema <schema> --port <port>

Where <dir> is where your Glean databases are stored, <port> is the port number, and <schema> is the directory containing the schema sources.

The Glean server accepts all the common options described in Common options, and additionally:

  • --port PORT
    Port number to listen on.

The server watches for changes in any configuration files specified with config:PATH, including the schema.