Quick Start
12135Preparation Work
- Install Node environment
- Install Git
Environment Setup
Clone Repository
Open the terminal or command prompt, and clone the [Jianghu Knowledge Paid] repository to your local computer:
git clone https://github.com/jianghujs/jianghu-oa Install Dependencies
cd [Project Name]
npm install Basic Configuration
Database Configuration
Locate the config/config.local.example.js file in the project directory, copy it and rename it to config.local.js, then modify the database configuration correctly, for example:
host: '127.0.0.1',
port: 3306,
user: 'root',
password: '123456', Start Project
- Run in the terminal:
npm run dev - The terminal will display the project access address (for example: http://localhost:8000/), clicking it will open the browser, and you should be able to see the project's homepage or welcome interface.