Before you begin, make sure your system meets the following requirements:
System Requirements
çš„ MacOS
AndWindows
It is recommended to use a system with a modern processor (Intel i5/AMD Ryzen 5 or above is recommended) and at least 4GB of RAM to run Lemon AI.
Deployment Method 2: deploy Lemon AI with Docker command (applicable to users who can access the Docker official website)
I. Install Docker Desktop
(Official website:), download the corresponding Docker according to the Mac computer chip (Intel chip selects x86_64, Apple chip selects arm64).
After downloading, install the software installation process. After the installation is complete, start Docker Desktop.
Open Docker Desktop and goSettings > AdvancedAnd ensureAllow the default Docker socket to be usedEnabled.
2. Launch the Lemon AI application
1.Desktop startup state, in the mac computer, start the console to search for the terminal, and start the terminal
2. Enter commands in sequence in the terminal, start executing commands, and wait for execution to complete.
Enter in the terminal and execute the pull Lemon AI sandbox command.
Dockerpull hexdo lemonai/lemon-runtime Sandbox: latest
If the following error occurs when executing the pull command, it proves that the pull fails (it may not have the ability to access the external network). It is recommended to use the first method to download the network disk directly for installation.
After the sandbox pull command is executed, continue to enter and run the Lemon AI program command in the terminal.
docker run -it --rm --pull=always \ --name lemon-app \ --env DOCKER_HOST_ADDR=host.docker.internal \ --env ACTUAL_HOST_WORKSPACE_PATH=${WORKSPACE_BASE:-$PWD/workspace} \ --publish 5005:5005 \ --add-host host.Docker.internal:host-gateway \ --Volume /var/run/docker.sock:/var/run/docker.sock \ --Volume ~/.cache:/.cache \ --volume ${WORKSPACE_BASE:-$PWD/workspace}:/app/workspace \ --volume ${WORKSPACE_BASE:-$PWD/data}:/app/data \ --interactive \ --tty \ hexdolemonai/lemon:latest make run
3. After the command is executed, docker will display the Lemon-app file, copy the access link in the terminal or Lemon-app in Containers in docker, click the port link, and jump to the page for access.
4. On the local Web page of Lemon AI, you need to configure the self-subscription model service, search service and default model in turn in the settings. After the configuration is completed, you can have the Lemon AI task question-and-answer experience.