cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice
https://www.chatwithgpt.ai
MIT License
2.3k stars 489 forks source link

No "data" directory to put config.yaml file in #135

Closed Arche151 closed 1 year ago

Arche151 commented 1 year ago

There used to be a data directory in the apps main directory, but after I updated it, it's gone.

Where do I put the config.yaml file now? I put it in the main directory but when starting chat with gpt, it didn't load the config unfortunately.

cogentapps commented 1 year ago

When using the Docker command from the instructions,

docker run -v $(pwd)/data:/app/data -p 3000:3000 ghcr.io/cogentapps/chat-with-gpt:release

This part here:

-v $(pwd)/data:/app/data

tells Docker to look for a folder called data inside the current folder ('pwd' is wherever you are running the command from). If the folder doesn't exist, Docker will create it for you on the first run, but you can create it yourself and place the config.yaml file inside.

Arche151 commented 1 year ago

Ahh ok, thanks for explaining!