Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed sqld into turso dev for easier setup #614

Open
rosszurowski opened this issue Sep 9, 2023 · 2 comments
Open

Embed sqld into turso dev for easier setup #614

rosszurowski opened this issue Sep 9, 2023 · 2 comments

Comments

@rosszurowski
Copy link

rosszurowski commented Sep 9, 2023

As I've been working with Turso, I've found the turso dev utility really handy. It's simple to spin up a server and the interoperability with existing sqlite files means I can introspect data easily in a tool like TablePlus or the sqlite3 CLI.

However, as I've been setting up CI instances or working with others, it's a bit of a pain that the initial experience after installing the Turso CLI is this:

$ turso dev
Could not start libsql-server.
o install it, follow the instructions at https://github.com/libsql/sqld/blob/main/docs/BUILD-RUN.md
Also make sure sqld is on your PATH
Error: exec: "sqld": executable file not found in $PATH

And for devs using macOS, the natural inclination is to follow the Homebrew instructions:

brew tap libsql/sqld
brew install sqld

But this ends up installing a whole rust toolchain, and takes ~10 minutes to build the sqld binary.

It'd be nice if sqld came along with the Turso CLI so I didn't have to go through that whole process.

@phoenix24
Copy link

this would be really nice to have, any thoughts on this?

@notrab
Copy link
Member

notrab commented Jan 19, 2024

Hey @rosszurowski @phoenix24

Apologies for the late reply but we're working on making this happen. You can follow the progress in #767 as well as adding multitenancy support in #768

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants