Drizzle Turso
Configure drizzle and turso with a single click
Usage
Setup Turso
-
Create an account with turso
-
Install the Turso CLI by running this command:
For Windows Users
If you are on Windows, then you must install wsl
, which is a Linux environment inside Windows.
To do this, run the following command inside a Command Prompt or Powershell terminal in Administrator Mode:
After running this command, boot up your Linux terminal and run the installation command specified above.
- Authenticate with the turso CLI by running the following command:
- Create a new database using this command:
- Generate the required environment variables, including the Database URL and Auth Token:
- Copy these variables into your
.env.local
file as follows:
Bonus Features
Example 'users' drizzle schema