ignore db file
This commit is contained in:
parent
b5af2098fb
commit
9af1445e34
3 changed files with 15 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -17,4 +17,7 @@ Thumbs.db
|
|||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
|
||||
*storybook.log
|
||||
*storybook.log
|
||||
|
||||
# Prisma
|
||||
dev.db
|
||||
|
|
@ -7,6 +7,9 @@ Hestia is an early stage project
|
|||
```bash
|
||||
# install dependencies
|
||||
bun install
|
||||
|
||||
# set up local database
|
||||
bun prisma:dev
|
||||
```
|
||||
|
||||
## Developing
|
||||
|
|
@ -21,8 +24,13 @@ bun dev -- --open
|
|||
|
||||
# to use storybook for components development
|
||||
bun storybook
|
||||
|
||||
# interact with local database
|
||||
bun prisma:studio
|
||||
```
|
||||
|
||||
> You can access the Yoga web-app at `/api/graphql`
|
||||
|
||||
## Building
|
||||
|
||||
To create a production version of your app:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@
|
|||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build",
|
||||
"test:e2e": "playwright test",
|
||||
"prisma:generate": "prisma generate"
|
||||
"prisma:generate": "prisma generate",
|
||||
"prisma:dev": "prisma migrate dev",
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@chromatic-com/storybook": "^3.2.2",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue