Skip to content

Instantly share code, notes, and snippets.

@mcansh
Last active June 27, 2022 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcansh/8e4bfd21f2f8de96ab00989d8aa15154 to your computer and use it in GitHub Desktop.
Save mcansh/8e4bfd21f2f8de96ab00989d8aa15154 to your computer and use it in GitHub Desktop.
npx create-remix@latest --template remix-run/indie-stack test-999
? TypeScript or JavaScript? TypeScript
? Do you want me to run `npm install`? Yes
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
added 1339 packages, and audited 1340 packages in 18s
233 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
💿 Running remix.init script
> setup
> prisma generate && prisma migrate deploy && prisma db seed
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (3.15.2 | library) to ./node_modules/@prisma/client in 1.54s
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "data.db" at "file:./data.db?connection_limit=1"
SQLite database data.db created at file:./data.db?connection_limit=1
1 migration found in prisma/migrations
Applying migration `20220307190657_init`
The following migration have been applied:
migrations/
└─ 20220307190657_init/
└─ migration.sql
All migrations have been successfully applied.
Environment variables loaded from .env
Running seed command `node --require tsconfig-paths/register prisma/seed.js` ...
Database has been seeded. 🌱
🌱 The seed command has been executed.
Setup is complete. You're now ready to rock and roll 🤘
Start development with `npm run dev`
💿 That's it! `cd` into "/Users/logan/test-999" and check the README for development and deploy instructions!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment