How can developers set up and run RuoYi AI?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.Morbi adipiscing gravdio, sit amet suscipit risus ultrices eu.Fusce viverra neque at purus laoreet consequa.Vivamus vulputate posuere nisl quis consequat.
Answers ( 1 )
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.