mirror of
https://github.com/open-webui/desktop
synced 2025-06-26 18:15:59 +00:00
1.3 KiB
1.3 KiB
Developer Documentation
Prerequisites
To work on this Electron project, you must have the following installed:
- Conda: A package, dependency, and environment management tool.
- conda-pack: To pack Conda environments into tarballs.
- conda-lock: To generate lockfiles for Conda environments.
Ensure these tools are properly installed and configured before proceeding.
Getting Started
-
Clone the repository:
git clone https://github.com/open-webui/app cd app -
Install Node.js dependencies:
npm i -
Generate the Python environment tarball:
npm run create:python-tar -
Start the development environment:
npm run startThis will launch the project in development mode.
Building Distributables
To generate production-ready distributables (e.g., installers or app packages), run:
npm run make
This will create the necessary files for distribution in the out directory.
Notes
- Make sure you have the required versions of conda, conda-pack, and conda-lock to avoid compatibility issues.
- If you encounter any issues, check the project-specific scripts in the
package.jsonfile.
Enjoy developing! 🚀