Commit Graph

6 Commits

Author SHA1 Message Date
wizardchen 31755726a0 feat: enhance Vite configuration for dynamic module resolution
- Introduced a new function to dynamically resolve the '@vue-office/pptx' module path, improving compatibility with different package structures.
- Replaced the static module resolution with the new function in the Vite configuration, ensuring more robust handling of the module during the build process.

This update enhances the flexibility of module resolution in the Vite setup.
2026-03-02 21:21:49 +08:00
wizardchen 7b7017ec03 feat: update Vite configuration for module resolution
- Replaced direct import of '@vue-office/pptx' with require.resolve to improve module resolution in the Vite configuration.
- Added createRequire to support CommonJS-style imports in the ES module context.

This update enhances compatibility and ensures correct module resolution during the build process.
2026-03-02 21:21:49 +08:00
wizardchen 6d88619869 feat: enhance Dockerfile and build scripts for customizable APT mirror
- Added support for customizable APT mirror in the Dockerfile for the docreader service, allowing users to specify a mirror via build arguments.
- Updated docker-compose.yml to pass the APT_MIRROR argument during the build process.
- Modified build_images.sh script to include the APT_MIRROR argument when building the docreader image.
- Updated .gitignore to exclude .cursor/ directory.

This update improves flexibility in package management during the image build process.
2026-03-02 21:21:49 +08:00
wizardchen 397689d2f3 feat: introduce WeKnora Lite edition with lightweight configuration and deployment
- Added a new `.env.lite.example` file for the Lite version, providing a minimal configuration template.
- Updated `.env.example` to remove deprecated variables and include new Docreader settings.
- Enhanced Docker configurations to support the Lite version, including a new Dockerfile for the Docreader service.
- Introduced a Makefile target for building and running the Lite version, along with packaging capabilities.
- Created GitHub workflows for building and releasing Lite binaries, including Homebrew formula support.
- Implemented a new service file for managing the Lite version as a system service.

This update enables a streamlined, single-binary deployment of WeKnora, reducing external dependencies and simplifying setup.
2026-03-02 21:21:49 +08:00
wizardchen d387fd672f chore: Update .gitignore and Makefile for development enhancements
- Added 'logs/' and '*.pid' to .gitignore to exclude log files and process ID files from version control.
- Expanded Makefile with new development commands for easier local environment management, including 'dev-start', 'dev-stop', 'dev-restart', 'dev-logs', 'dev-status', 'dev-app', and 'dev-frontend'.
- Updated README_CN.md to include instructions for the new development mode and commands for improved developer experience.
2025-11-07 15:52:52 +08:00
wizardchen 56eb2bce33 init commit 2025-08-05 15:08:07 +08:00