LemonAI
  • Getting Started
    • Get to know Lemon quickly
  • Function Introduction
    • Quick to get started
    • Setting
      • Basic Settings
      • Model Service Settings
        • WanJie Data
        • DeepSeek
        • SiliconFlow
        • Volcengine
        • Bailian
        • O3
        • OpenAI
        • Custom Service Provider
      • Search Service Settings
        • Search Services
          • Tavily network login registration tutorial
      • Default Model Settings
      • Experience Library
  • Development Deployment Guidelines
    • Start local development quickly
    • Docker Quick Deployment
      • Mac Docker Deployment Tutorial
        • Method 1 (recommend) Docker deployment Mac netw...
        • Method 2 Docker Mac Command deployment document
        • Method 3: Docker Mac client installation and de...
      • Windows Docker Deployment Tutorial
        • Method 1 (recommend) Docker deployment Windows ...
        • Method 2 Docker Windows command deployment docu...
        • Method 3 Docker Windows client installation and...
    • Profile Introduction
    • Deployment FAQ
  • Version Update
    • Lemon v0.1 Update Description
  • protocol
    • LICENSE
    • Service agreement
    • Privacy Policy
Powered by GitBook
On this page
  • Start local development quickly
  • Start local development quickly
  1. Development Deployment Guidelines

Start local development quickly

Start local development quickly

Start local development quickly

This guide will help you quickly get up and running a Lemon project in a local environment.

1. Environmental requirements

Before you begin, make sure that your system meets the following requirements:

  • Operating System:

    • Linux

    • MacOS

    • Windows 上的 WSL (Ubuntu >= 22.04)

  • Docker: Make sure Docker is installed. If you are a macOS user, be sure to allow the default Docker socket in Docker's advanced settings.

  • Python: Version3.12.

  • Node.js: version>= 22.x.

Please continue inmake initCommand, verify that all of these dependencies are installed correctly.

2. Build and environment settings

First, you need to build the project and set up the development environment. This step ensures that Lemon is ready to run on your system:

make init

In addition, local development also needs to download the latest sandbox image:

Dockerpull hexdo lemonai/lemon-runtime Sandbox: latest

3. Run the application

After the project is built, you can run the Lemon application in two ways:

Option A: Run the full application

This command starts both the back-end and front-end servers, allowing you to interact with the full Lemon application:

make run

Option B: Start the servers separately

If you want more flexible control, you can start the front-end or back-end servers separately:

  • Start the back-end server: If you want to focus on back-end related tasks or configurations, you can start the back-end server separately:

make start-backend

  • Start the front-end server: Similarly, you can start the front-end server separately to handle front-end components or interface enhancements:

make start-frontend

PreviousExperience LibraryNextDocker Quick Deployment