Skip to content

Commit 295ae7f

Browse files
committed
feat: bump prisma client to v7.1.0
1 parent baeb645 commit 295ae7f

12 files changed

Lines changed: 721 additions & 4710 deletions

File tree

.env.example

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,15 @@ PUPPETEER_EXEC_PATH=/opt/google/chrome/google-chrome
4848
# automatically reloads commands as they are edited
4949
AUTO_RELOAD=false
5050

51-
# the database connection URL
51+
# the database connection URL for accessing prisma cli
5252
DATABASE_URL=mysql://root@127.0.0.1:3306/project_canis
53+
54+
# the database config for accessing the db
55+
PRISMA_MARIA_DB_HOST=127.0.0.1
56+
PRISMA_MARIA_DB_USER=root
57+
PRISMA_MARIA_DB_PASSWORD=
58+
PRISMA_MARIA_DB_DATABASE=project_canis
59+
5360
REDIS_URL=redis://127.0.0.1:6379
5461

5562
# the AI provider to use for AI model access

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ jobs:
2121
- name: Clean Install Dependencies
2222
run: npm ci
2323

24+
- name: Setup environment
25+
run: cp .env.example .env
26+
2427
- name: Build project
2528
run: npm run build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ dist
99
*.log
1010
*.env
1111
*.phishtank
12+
src/generated

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Canis supports multiple AI providers out of the box:
6161
2. **Install dependencies**
6262

6363
```sh
64-
npm install or pnpm i
64+
npm i
6565
```
6666

6767
3. **Setup environment variables**
@@ -93,7 +93,7 @@ Canis supports multiple AI providers out of the box:
9393
2. **Start**
9494

9595
```
96-
pm2 start ecosystem.config.js
96+
pm2 start
9797
```
9898

9999
#### NodeJS

0 commit comments

Comments
 (0)