[READ-ONLY] Mirror of https://github.com/metruzanca/surreal-solid-template. surreal-solid
0

Configure Feed

Select the types of activity you want to include in your feed.

TypeScript 93.5%
CSS 6.5%
12 1 0

Clone this repository

https://tangled.org/metru.dev/surreal-solid-template https://tangled.org/did:plc:r6x3sqcctqggufmtfzls7au3
git@tangled.org:metru.dev/surreal-solid-template git@tangled.org:did:plc:r6x3sqcctqggufmtfzls7au3

For self-hosted knots, clone URLs may differ based on your setup.



README.md

Surreal Solid Template#

Bootstrapped from Surreal-Solid-Template. More docs included in the repo. This readme is just the TLDR.

Getting Started#

Get the frontend up and running:

pnpm install
pnpm dev

Get surreal running locally by either:

  • installing it
  • Using the docker compose file included via docker compose up -d

Deploying#

Common Tasks#

  • Access the surrealdb shell: docker compose exec db /surreal sql --db dev --ns dev
  • Seed the database with a surql file: surreal import --conn http://localhost:8000 --ns dev --db dev db/seed.surql
  • Stop DB without clearing data: docker compose stop
  • Tear down container, wiping data: docker compose down