Quick Start
12079Clone the Repository
Open the terminal or command prompt, and clone the [Jianghu Finance] repository to your local machine:
git clone https://github.com/jianghujs/jianghu-financeInstall Dependencies
cd [Project Name]
npm installCreate Database
Create a synchronized database based on the database name in config/config.local.example.js, such as jianghu_finance, and run the SQL script located at sql/init.sql in the project directory.
Configure Database
Locate the config/config.local.example.js file in the project directory, copy it, and rename it to config.local.js. Modify the database configuration correctly, for example:
host: '127.0.0.1',
port: 3306,
user: 'root',
password: '123456',Start the Project
- Run the following command 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 screen.