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.
The project directory can be specified explicitly. Defaults to the current directory.
Specifies the EdgeDB server instance to be associated with the project.
Specifies the EdgeDB server instance to be associated with the project.
Remove association with and optionally destroy the linked EdgeDB instance.
edgedb project unlink [OPTIONS] [project-dir]