Skip to content

Commit a1aa70b

Browse files
authored
Merge pull request #138 from FullStackWithLawrence/next
refactor: .env initialization wasn't working in Linux
2 parents 350b6f7 + bb5fdc6 commit a1aa70b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ S3_BUCKET = openai.lawrencemcdaniel.com
33
CLOUDFRONT_DISTRIBUTION_ID = E3AIBM1KMSJOP1
44

55
ifneq ("$(wildcard .env)","")
6-
include .env
6+
include .env
77
else
8-
echo -e "OPENAI_API_ORGANIZATION=PLEASE-ADD-ME\nOPENAI_API_KEY=PLEASE-ADD-ME\nPINECONE_API_KEY=PLEASE-ADD-ME\nPINECONE_ENVIRONMENT=gcp-starter\nDEBUG_MODE=True\n" >> .env
8+
$(shell echo -e "OPENAI_API_ORGANIZATION=PLEASE-ADD-ME\nOPENAI_API_KEY=PLEASE-ADD-ME\nPINECONE_API_KEY=PLEASE-ADD-ME\nPINECONE_ENVIRONMENT=gcp-starter\nDEBUG_MODE=True\n" >> .env)
99
endif
1010

1111
.PHONY: analyze api-init api-activate api-lint api-clean api-test client-init client-lint client-update client-run client-build client-release

0 commit comments

Comments
 (0)