chore: set up local testing
This commit is contained in:
parent
6d7c6af8a1
commit
72ba74618b
@ -5,8 +5,11 @@ from backend.models.models import MessageTemplateDoc, EmailSenderDoc, EmailSendS
|
||||
import os
|
||||
|
||||
# MongoDB config
|
||||
MONGODB_URI = os.getenv('MONGODB_URI', 'mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/')
|
||||
MONGODB_NAME = os.getenv('MONGODB_NAME', 'freeleaps2')
|
||||
# TODO: for non-local environment, use the following config
|
||||
#MONGODB_URI = os.getenv('MONGODB_URI', 'mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/')
|
||||
#MONGODB_NAME = os.getenv('MONGODB_NAME', 'freeleaps2')
|
||||
MONGODB_URI = os.getenv('MONGODB_URI', 'mongodb://localhost:27017/')
|
||||
MONGODB_NAME = os.getenv('MONGODB_NAME', 'interview')
|
||||
|
||||
# create MongoDB client
|
||||
client = AsyncIOMotorClient(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user