edgedb project

EdgeDB provides a way to quickly setup a project. This way the project directory gets associated with a specific EdgeDB instance and thus makes it the default instance to connect to. This is done by creating an edgedb.toml file in the project directory.

Setup a new project.

edgedb project init [OPTIONS] [project-dir]

This command sets up a new project, creating an instance and a schema directory for it. It can also be used to convert an existing directory to a project directory, connecting the existing instance to the project. Typically this tool will prompt for specific details about how the project should be setup.

project-dir

The project directory can be specified explicitly. Defaults to the current directory.

--server-instance=server-instance

Specifies the EdgeDB server instance to be associated with the project.

--server-version=server-version

Specifies the EdgeDB server instance to be associated with the project.

Light
Dark
System