📚 HouLang 4 (Newlangs) Installation Guide
⚠️ Important Notice: Please read through the entire tutorial before starting installation
🔧 Environment Requirements
Production Environment
🔸 Redis 6.x (Compatible with higher versions, 6.x recommended)
🔸 JDK 17 (17.0.6 recommended) 📥 Download Link
🔸 MySQL (5.7 or 8.2)
Testing Environment
🔸 Redis 6.x
🔸 JDK 17
🔸 Maven
🔸 npm
🔸 MySQL (5.7 or 8.2)
📦 Source Code Acquisition
- Download code from GitHub:
https://github.com/houlangs/Newlangs4 - After extraction, you'll get three core folders:
hl4-dashboard(Dashboard)hl4-backend(Backend)hl4-homepage(Homepage, optional)
🛠️ Backend Configuration
1. Basic Configuration
bash
# Enter backend directory
cd hl4-backend
# Configuration needed:
1. Register SMS service account (for verification code sending)
2. Purchase real-name authentication interface2. Key File Modifications
java
// File path: src/main/java/com/guaning/newlangs/service/impl/UserServiceImpl.java
// Line 144: Replace SMS account and key
// Line 217: Replace AppCode
// File path: src/main/resources/application.yml
// Modify database configuration information3. Compilation and Deployment
bash
mvn package
# Upon success, jar package location will be displayed🎨 Frontend Configuration
1. Development Environment
bash
cd hl4-dashboard
npm install
npm run dev2. Configuration Modifications
- 📝 Backend Address:
src/axios/axios.js - 🖼️ Logo:
public/favicon.ico - 📋 Page Templates:
src/layout - 🏠 Homepage:
src/views/Dashboard.vue - 📑 Other Pages:
src/views/
3. Production Deployment
bash
npm run build
# Deploy dist directory contents to server📊 Database Configuration
- Download Default Database Configuration
- Import into empty database
Default Administrator
- 📧 Account:
1@1.com - 🔑 Password:
123456
🔴 Security Notice: Please register a new administrator account and delete the default account promptly
📌 Technical Support:
- For issues, please check documentation or submit an Issue, content should reference How To Ask Questions The Smart Way
- Use VSCode for development, use global search to quickly locate content that needs modification