How can developers set up and run RuoYi AI?

Question

Answers ( 1 )

    0
    2025-04-01T05:08:13+00:00

    To set up and run RuoYi AI, follow these steps:
    1. **Clone the Project**: Use `git clone https://github.com/ageerle/ruoyi-ai.git` to get the backend code.
    2. **Configure**: Modify the `application.yml` file to set up the database (e.g., `jdbc:mysql://localhost:3306/ruoyi_ai_db?useSSL=false&serverTimezone=UTC`) and AI model keys.
    3. **Build and Run**: Use `mvn clean install` and `mvn spring-boot:run` to start the backend, accessible at `http://localhost:8080`.
    4. **Frontend Setup**: Clone the frontend project (`https://github.com/ageerle/ruoyi-admin.git`), run `npm install` and `npm run dev`, and access it at `http://localhost:8081`.
    5. **Mini Program Setup**: Clone the Mini Program project (`https://github.com/ageerle/ruoyi-uniapp.git`) and configure the backend address.

Leave an answer