### Install npm Packages Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/docs/Running_from_source.md Navigate to the electron app directory and install required Node.js packages using npm. ```bash cd diffusionbee-stable-diffusion-ui/electron_app npm install ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/electron_app/README.md Installs all necessary packages for the project. Run this command in the project's root directory. ```bash npm install ``` -------------------------------- ### Install Python Dependencies Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/docs/Running_from_source.md Navigate to the stable diffusion backend directory and install required Python packages using pip. ```bash cd diffusionbee-stable-diffusion-ui/backends/stable_diffusion pip install -r requirements.txt ``` -------------------------------- ### Run DiffusionBee Application Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/docs/Running_from_source.md Start the DiffusionBee application in development mode using the npm script. ```bash npm run electron:serve ``` -------------------------------- ### Build Electron App for Production Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/electron_app/README.md Compiles and minifies the app for production. Requires setting APPLE_ID and APPLE_ID_PASSWORD environment variables for building. ```bash npm run electron:build ``` -------------------------------- ### Serve Electron App for Development Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/electron_app/README.md Compiles and hot-reloads the app for development using Electron. This command is used for local development and debugging. ```bash npm run electron:serve # run via electron ``` -------------------------------- ### Create and Activate Conda Environment Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/docs/Running_from_source.md Set up a dedicated Conda environment for DiffusionBee with Python 3.9.10 and activate it. ```bash conda create -n diffusion_bee_env python=3.9.10 conda activate diffusion_bee_env ``` -------------------------------- ### Clone DiffusionBee Repository Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/docs/Running_from_source.md Use git to clone the DiffusionBee Stable Diffusion UI repository from GitHub. ```bash git clone https://github.com/divamgupta/diffusionbee-stable-diffusion-ui ``` -------------------------------- ### Remove DiffusionBee Cache and Data Source: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/master/docs/DOCUMENTATION.md Use this command in the Terminal to remove all DiffusionBee application data, including cache, generated images, and imported models. ```bash rm -r ~/.diffusionbee/ ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.