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
  • Profile Introduction
  • Backend Configuration File
  • Front End Configuration File
  1. Development Deployment Guidelines

Profile Introduction

Profile Introduction

This document describes the backend and frontend configuration files of the Lemon open source project in detail to help you configure them according to your needs.

Backend Configuration File

The backend configuration file is located at the root of the project.envFile. You can refer.env.exampleFile to learn about the available configuration items and their examples.

Configuration Item Description

  • STORAGE_PATH

    • Description: Defines where SQLite database files are stored.

    • Default:data/database.sqlite

    • Example:

STORAGE_PATH=data/database.sqlite

    • Note: If not configured, the system will use the defaultdata/database.sqliteAs the storage path for the database file.

  • WORKSPACE_DIR

    • Description: Defines the mapping path of the workspace on the local host.

    • Example:

WORKSPACE_DIR=workspace

  • RUNTIME_TYPE

    • Description: Defines how to start the backend service.

    • Default:docker(Sandbox Environment required)

    • Optional values:

      • docker: The default value, which means running in the Docker sandbox environment.

      • local: For developers to use when debugging locally.

    • Example:

RUNTIME_TYPE=docker

Front End Configuration File

Front-end configuration files are located infrontend/.envUnder the document. You can referfrontend/.env.exampleFile to learn about the available configuration items and their examples.

Configuration Item Description

  • VITE_SERVICE_URL

    • Description: Defines the start address and port of the backend service.

    • Default:http://127.0.0.1:3000

    • Example:

VITE_SERVICE_URL=http://127.0.0.1:3000

    • Note: Modify the endpoint and port of the backend service.

  • VITE_PORT

    • Description: Defines the port number of the front-end application.

    • Default:5005

    • Example:

VITE_PORT=5005

    • Description: After the front end is started, you can passhttp://localhost:5005Access the Lemon app.

Hopefully, this introduction to configuration files will help you better understand and configure your Lemon project.

PreviousMethod 3 Docker Windows client installation and...NextDeployment FAQ