ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

how to run apps or whole project in local

Open yangboz opened this issue 1 year ago • 5 comments

Describe your problem

anyway to run or debug the apps in api folder , for example "apps/dialog_app.py" , and I am wondering the apps meaning each one can be standalone running ?

and if could be , then how to run it ? after docker-compose -f docker-compose-base.yml running the basic service up . then what's the next ?

thanks.

yangboz avatar Jun 24 '24 08:06 yangboz

I'm afraid that it can't run independently. You could use post man to debug or test it.

KevinHuSh avatar Jun 25 '24 00:06 KevinHuSh

I'm afraid that it can't run independently. You could use post man to debug or test it.

so , how you guys to run/debug it in local?

yangboz avatar Jun 25 '24 01:06 yangboz

Start the server and use postman to debug the APIs

KevinHuSh avatar Jul 02 '24 02:07 KevinHuSh

Start the server and use postman to debug the APIs

sorry ,man , I mean debug in project codebase level . how to running and debug rag flow-server.py in terminal

yangboz avatar Jul 02 '24 02:07 yangboz

Start the server and use postman to debug the APIs

even with postman, there is no guide or document on it. if could be provided , we will be greatly appreciated.

thanks.

yangboz avatar Jul 02 '24 02:07 yangboz

Start the server and use postman to debug the APIs

even with postman, there is no guide or document on it. if could be provided , we will be greatly appreciated.

thanks. you can refer to this https://ragflow.io/docs/dev/faq#9-how-to-upgrade-ragflow

Seaver-Zhu avatar Jul 17 '24 08:07 Seaver-Zhu

Start the server and use postman to debug the APIs

even with postman, there is no guide with condo/pip. source code way on it. if could be provided , we will be greatly appreciated. thanks. you can refer to this https://ragflow.io/docs/dev/faq#9-how-to-upgrade-ragflow

most parts of it is docker based, how about codebase level with conda/pip source code way ?

yangboz avatar Jul 17 '24 09:07 yangboz

Please refer to this

KevinHuSh avatar Jul 17 '24 11:07 KevinHuSh

@KevinHuSh I still don’t quite understand, how to debug the code locally, you can set the type of breakpoint

peak-xu avatar Dec 31 '24 05:12 peak-xu