Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.02 KB

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