This document collects common questions and answers during the use of the LAT-Lab project.
A: Running python scripts/init_db.py will create a default administrator account (admin/admin123). It's recommended to change the password immediately in the admin panel.
A: Configure SMTP credentials in your .env (or docker.env.example) file. The configuration sections in Docker Deployment Guide and Traditional Installation Guide list the required variables and examples.
A: You can resolve this in the following ways:
- Modify port mappings in
docker-compose.yml - Use
netstat -tulpn | grep :port_numberto view occupying processes - Use
sudo kill -9 <PID>to kill occupying processes
A: When deploying to production environment:
- Never use
npm run dev, must usenpm run build - Configure HTTPS certificates
- Set strong passwords and secure SECRET_KEY
- Configure firewall and access control
- Regular data backup
A: Yes. Update the theme stylesheets under frontend/src/assets (for example theme-light.css, theme-dark.css, theme-neon.css) or tweak Vue components directly. Refer to frontend/README.md for build commands after applying your changes.
A: Review the sample plugins in backend/plugin_examples and the metadata format in backend/src/lat_lab/marketplace_config.json. Once your plugin follows the same structure, you can side-load it or publish it to the Plugin Marketplace.
A: SQLite is supported by default, while MySQL 8.0+ is recommended for production workloads. Configuration examples are included in Docker Deployment Guide and Traditional Installation Guide.
A: Data backup methods:
- Database backup:
docker-compose exec db mysqldump -u root -p lat_lab_db > backup.sql - File backup:
tar -czf uploads_backup.tar.gz uploads/ - Complete backup: Combine the database dump and uploaded files archive (or snapshot your Docker volumes)
A: Troubleshoot according to the following steps:
- Check logs:
./deploy.sh logsordocker-compose logs - Check environment configuration: Confirm
.envfile configuration is correct - Check port occupancy: Confirm required ports are not occupied
- Check resources: Confirm sufficient memory and disk space
A: Possible causes and solutions:
- API connection failure: Check if backend service is running normally
- Static resource loading failure: Check if frontend build is correct
- Browser compatibility: Recommend using modern browsers
A: Email sending problem troubleshooting:
- Check if SMTP configuration is correct
- Confirm if email service provider supports SMTP
- Check network connection and firewall settings
- View email service logs
A: Security recommendations:
- Regularly update passwords and SECRET_KEY
- Enable HTTPS
- Configure firewall rules
- Regular data backup
- Monitor system logs
- Update dependencies promptly
A: Please report security vulnerabilities through the following ways:
- Send email to security@luminarc.tech
- Create private Issue on GitHub
- Describe vulnerability situation and reproduction steps in detail
A: Yes, LAT-Lab adopts responsive design and supports various mobile devices. It's recommended to use modern browsers on mobile devices for the best experience.
A: Mobile supports all core features, including:
- Article browsing and search
- User login and registration
- Comment publishing and replies
- Admin panel operations
A: Suggested workflow:
- Review the reference plugins in
backend/plugin_examples - Copy an example into
backend/plugins(or your own repository) and adjust the metadata defined inbackend/src/lat_lab/marketplace_config.json - Implement and test your functionality locally
- Package the plugin and, if desired, publish it to the Plugin Marketplace
A: Plugin development requires:
- Basic Python programming knowledge
- Understanding of FastAPI framework
- Familiarity with HTML/CSS/JavaScript
- Understanding of Vue.js component development
A: Performance optimization suggestions:
- Use CDN to accelerate static resources
- Configure database indexes
- Enable caching mechanisms
- Optimize images and media files
- Use load balancing
A: LAT-Lab adopts asynchronous architecture and supports high concurrency access. It's recommended to use in production environment:
- Multi-instance deployment
- Load balancing
- Database read-write separation
- Caching strategies
A: Currently supports Chinese and English, and additional locales are planned. To add another language, replicate the existing translation resources under frontend/src (layouts, copy, and locale files) and submit the changes through a pull request.
A: Language switching methods:
- Select language in user settings
- Specify language through URL parameters
- Automatically select based on browser language
If this document doesn't solve your problem, you can get help through the following ways:
- View Documentation: Documentation Center
- Search Issues: Search in GitHub Issues
- Create Issue: Create new Issue describing the problem
- Participate in Discussion: Exchange ideas in GitHub Discussions
- Email Contact: contact@luminarc.tech
🌟 If this FAQ helps you, please give the project a Star ⭐
Made with ❤️ by Dawn_ARC