brew install surrealdb/tap/surreal
brew services start surreal
npm run sql
> CREATE _identity SET username = 'admin', password = crypto::argon2::generate('admin'), admin = true
npm install
cp .env.example .env
npm run dev
If you fire up the app for the first time and notice this in your browser console:
Warning: Did not expect server HTML to contain a <script> in <html>.
... and/or several hydration errors, make sure you don't have browser extensions injecting <script> tags and causing issues.
While you're at it, make sure to checkout all of Remix's Gotchas.