openchatai / OpenChat

LLMs custom-chatbots console ⚡
https://open.cx
MIT License
5.17k stars 642 forks source link

How to build a development environment in my window? #91

Open jackchang1025 opened 1 year ago

jackchang1025 commented 1 year ago

Snipaste_2023-06-22_16-43-37

Snipaste_2023-06-22_16-44-16

How to map local code to /var/www/html in container ?

image

I try to add './backend-server:/var/www/html' in backend-server volumes, but the openchat-backend-server container keeps restarting and reporting error cannot find vendor/autoload.php

gharbat commented 1 year ago

Yes the current docker setup is not optimal yet, I'm working on introducing rsync so everything in the host machine will be reflected inside the containers and vice-versa.

Will let you know once it's deployed.

jackchang1025 commented 1 year ago

I can't wait to re-write the code to remove IIm-server, I think it's redundant