Skip to content

Commit

Permalink
feat: cooking assistant (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoy authored Nov 17, 2023
2 parents 13b566e + abe3d83 commit 1646ba7
Show file tree
Hide file tree
Showing 53 changed files with 1,867 additions and 332 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
POSTGRES_HOST: localhost
POSTGRES_SSL: false
POSTGRES_LOGGING: false
DATABASE_URL: postgresql://chefbook:admin@localhost:5432/chefbook_test
SEARCH_PROVIDER: none
STORAGE_TYPE: filesystem
FILESYSTEM_STORAGE_PATH: ~/project/rsdata
Expand All @@ -49,6 +50,9 @@ jobs:
- run:
name: prettier
command: npx prettier --check .
- run:
name: migrate
command: npx prisma migrate dev
- run:
name: lint, typecheck, test, build
command: npx nx run-many --targets=lint,typecheck,test,build
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ services:
- POSTGRES_SSL=false
- POSTGRES_LOGGING=true
- DATABASE_URL=postgresql://recipesage_dev:recipesage_dev@postgres:5432/recipesage_dev
- OPENAI_GPT_MODEL=gpt-3.5-turbo-1106
- GCM_KEYPAIR
- SENTRY_SAMPLE_RATE=0
- GRIP_URL=http://pushpin:5561/
Expand Down
1 change: 1 addition & 0 deletions example.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ AWS_SECRET_ACCESS_KEY=KEY
STRIPE_SK=KEY
STRIPE_WEBHOOK_SECRET=KEY
SENTRY_DSN=VAL
OPENAI_API_KEY=VAL
2 changes: 2 additions & 0 deletions kube/configs/api-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ spec:
value: "true"
- name: TYPESENSE_NODES
value: '[{"host": "rs-typesense", "port": 8108, "protocol": "http"}]'
- name: OPENAI_GPT_MODEL
value: gpt-3.5-turbo-1106
volumeMounts:
- name: firebase-credentials
mountPath: /app/packages/backend/src/config/firebase-credentials.json
Expand Down
2 changes: 2 additions & 0 deletions kube/configs/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ spec:
value: "true"
- name: TYPESENSE_NODES
value: '[{"host": "rs-typesense", "port": 8108, "protocol": "http"}]'
- name: OPENAI_GPT_MODEL
value: gpt-3.5-turbo-1106
volumeMounts:
- name: firebase-credentials
mountPath: /app/packages/backend/src/config/firebase-credentials.json
Expand Down
1 change: 1 addition & 0 deletions kube/configs/secrets-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ stringData:
POSTGRES_HOST: ""
POSTGRES_SSL: ""
POSTGRES_LOGGING: ""
OPENAI_API_KEY: ""
GCM_KEYPAIR: ""
SENTRY_DSN: ""
TYPESENSE_API_KEY: ""
Expand Down
172 changes: 122 additions & 50 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1646ba7

Please sign in to comment.