Skip to content

giiiiiithub/ragflow-dev-debug-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

ragflow-dev-debug-container

Environment setup is such a hassle – might as well use the official container image and place the source code inside it. This way, you can develop with VS Code's remote feature. Simple and efficient —— Translated by DeepSeek​

  1. build and start dev-debug container:

    ./build.sh $ragflow_version $dev_debug_version $http_proxy_on_host $container_external_sshServer_port $root_pwd

    example:

    ./build.sh v0.19.0 v0.19.0 http://192.168.0.161:7890 2222 root
  2. start dependent services:

    cd ragflow/docker
    docker compose -f docker-compose.yml down -v
    docker compose -f docker-compose.yml up -d
  3. docker logs --tail 100 -f $dev_debug_container_id , wait for ouptput: "dev debug container ready!"

  4. connect to the dev-debug container using vs code remote

  5. source code absolute path: /ragflow

  6. entrypoints:

    • api/ragflow_server.py
    • rag/svr/task_executor.py

About

dev/debug container for ragflow. avoid frustrating environment issues

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published