### Clone Unbody Examples Repository (Bash) Source: https://github.com/unbody-io/unbody/blob/main/README.md Clones the separate examples repository from GitHub and changes the current directory to the newly cloned examples folder. This repository contains demo data and scripts. ```bash git clone https://github.com/unbody-io/examples.git cd examples ``` -------------------------------- ### Install Unbody Repository and Dependencies (Bash) Source: https://github.com/unbody-io/unbody/blob/main/README.md Clones the Unbody GitHub repository, navigates into the project directory, and installs the necessary Node.js dependencies using yarn. This is the initial step after ensuring prerequisites are met. ```bash git clone https://github.com/unbody-io/unbody cd unbody yarn ``` -------------------------------- ### Set Up Unbody Environment File (Bash) Source: https://github.com/unbody-io/unbody/blob/main/README.md Creates a local environment configuration file (.env.local) by copying the example template and then opens it for editing, typically to add sensitive information like an OpenAI API key. ```bash cp .env.example .env.local vim .env.local ``` -------------------------------- ### Add Data Source to Unbody (Bash) Source: https://github.com/unbody-io/unbody/blob/main/README.md Uses the unbody-cli command-line tool, available within the examples repository, to add a specified directory (likely 'storage/' from the examples) as a data source for the running Unbody instance to index. ```bash yarn unbody-cli source add ``` -------------------------------- ### Starting the Development Server (Bash) Source: https://github.com/unbody-io/unbody/blob/main/devenv/Setup.md Executes the start:dev script defined in the project's package.json. This command typically compiles the code, starts the application server, and often includes features like hot-reloading for development. ```bash yarn start:dev ``` -------------------------------- ### Run Unbody Application and Services (Bash) Source: https://github.com/unbody-io/unbody/blob/main/README.md Starts the required background services (like databases or message queues) using Docker Compose in detached mode and then launches the main Unbody application. ```bash docker compose up -d yarn start ``` -------------------------------- ### Starting Docker Services (Bash) Source: https://github.com/unbody-io/unbody/blob/main/devenv/Setup.md Starts the services defined in the project's docker-compose.yml file. This typically includes databases, caches, or other infrastructure components required for the application to run. ```bash docker compose up ``` -------------------------------- ### Installing Project Dependencies (Bash) Source: https://github.com/unbody-io/unbody/blob/main/devenv/Setup.md Installs the project's Node.js dependencies using the Yarn package manager. This command reads the package.json and yarn.lock files to fetch and install all required packages into the node_modules directory. ```bash yarn install ``` -------------------------------- ### Cloning the Unbody Repository (Bash) Source: https://github.com/unbody-io/unbody/blob/main/devenv/Setup.md Clones the Unbody open-source repository from GitHub and changes the current directory into the newly cloned repository. This is the first step in setting up the development environment. ```bash nix develop ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.