generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add postgres setup and migration to
ftl serve
(#518)
Fixes #499 When docker isn't running ```bash ftl serve info: Checking for FTL database error: Cannot connect to the Docker daemon at unix:///Users/wesbillman/.orbstack/run/docker.sock. Is the docker daemon running? : exit status 1 ftl: error: exit status 1 ``` When the database hasn't been created yet ```bash ftl serve info: Checking for FTL database info: Creating FTL database info: 7f1fc8b7e07c983efdba2ef7e207ac0d7e82eb704bcd7e990ff5573839dafa8e info: Waiting for ftl-db to be healthy info: Initializing FTL schema info: Applying: 001_init.sql info: Starting 1 controller(s) and 10 runner(s) ``` When the database already exists ```bash ftl serve info: Checking for FTL database info: Starting 1 controller(s) and 10 runner(s) ``` --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
821be2c
commit 4485074
Showing
5 changed files
with
106 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
console/client/src/protos/xyz/block/ftl/v1/console/console_pb.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
console/client/src/protos/xyz/block/ftl/v1/schema/runtime_pb.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.