-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We need to make it possible for users to configure/switch between their different project and database environments from the header of the desktop app.
Loom: https://www.loom.com/share/edf3ee14b8674408bc2d85b698a1f3e3?sid=e3417cf0-289f-498b-9bef-d105daa02d8c
2 different projects to switch between:
test/testtest/testing
Good info to know:
- A user can have many projects
- The source of truth for a project is the config folder (
my-spec-app/.spec) with its 2 files (project.tomlandconnect.toml) - A project belongs to a particular customer namespace (
allov2,station,ivy, etc.). In this sense a "namespace" is treated like an organization. - A project can have many database environments (listed off inside
connect.toml) - A user's auth credentials are saved inside
~/.netrc - All projects that have been interacted with are listed inside of the global
.specfolder (different from the local.specfolder of a project), within~/.spec/projects.toml - The current project is listed inside of the global
~/.spec/state.toml - The desktop app files used to interface with a user's projects and the current DB environment are
projectManager.jsandprojectEnv.js. - The CLI command that is used to switch between projects is
spec use project nsp/project- Link - The CLI command that is used to switch between database environments is
spec use env <local|prod|etc>- Link
Metadata
Metadata
Assignees
Labels
No labels