Next master clone built with Astro.
Origin [twitter thread] (https://x.com/ethanniser/status/1848442738204643330)
Project uses same Next master data provided in their repo including all the images.
Install Dependencies.
pnpm install
Start the dev server.
pnpm dev
pnpm build
To run this project, you will need to add the following environment variables to your .env file
Since this project uses Turso Sqlite you will need TURSO_DATABASE_URL
and TURSO_AUTH_TOKEN
.
Name | Description |
---|---|
TURSO_DATABASE_URL | The database URL. |
TURSO_AUTH_TOKEN | The database Auth token. |
To Setup the database first you have to run all the migrations.
pnpm db:migrate
To generate sql from drizzle schema you can run below command.
pnpm db:generate
To see all of your database data locally, you can run the drizzle studio command, which will show you all of your data.
pnpm studio