### Configure, Install Dependencies, and Start Bot Source: https://github.com/bryanbotdev/bryanbot/wiki/Selfhosted Copies the example configuration file to `config.yml` and installs project dependencies using either npm or yarn. Finally, it starts the bot using the appropriate command. ```shell cp example.config.yml config.yml # or for Windows: # copy example.config.yml config.yml ``` ```shell npm install # or yarn ``` ```shell npm run start # or yarn start ``` -------------------------------- ### Run Instance from Public Docker Image Source: https://github.com/bryanbotdev/bryanbot/wiki/Docker Runs a BryanBot instance using the pulled public Docker image. This command starts a container named 'brayanbot' and requires manual configuration insertion if not already handled. ```sh docker run --name brayanbot -t brayanbot/brayanbot:latest ``` -------------------------------- ### Deploy with Docker-Compose Source: https://github.com/bryanbotdev/bryanbot/wiki/Docker Starts BryanBot instances using Docker-Compose, assuming the Docker-compose.yml file has been reviewed and customized. This command runs the services in detached mode. ```sh docker-compose up -d ``` -------------------------------- ### Install and Configure with Docker-Compose Script Source: https://github.com/bryanbotdev/bryanbot/wiki/Docker Executes a shell script to automate the installation and configuration of BryanBot using Docker-Compose. This script guides the user through customizing the config.yml file interactively. ```sh chmod +x install/docker-linux.sh && ./install/docker-linux.sh ``` -------------------------------- ### Run Docker Container Locally Source: https://github.com/bryanbotdev/bryanbot/wiki/Docker Runs the BryanBot Docker container using the locally built image. This command starts a new container named 'brayanbot'. ```sh docker run --name brayanbot -t brayanbot ``` -------------------------------- ### Build Docker Image Locally Source: https://github.com/bryanbotdev/bryanbot/wiki/Docker Builds the Docker image for BryanBot from the local source code. This is necessary if you have made modifications to the bot's source files. ```sh docker build -t brayanbot ./ ``` -------------------------------- ### Pull Public Docker Image Source: https://github.com/bryanbotdev/bryanbot/wiki/Docker Pulls the latest public Docker image for BryanBot from the Docker registry. This image is primarily intended for testing purposes. ```sh docker pull brayanbot/brayanbot:latest ``` -------------------------------- ### Clone and Navigate BrayanBot Repository Source: https://github.com/bryanbotdev/bryanbot/wiki/Selfhosted Clones the BrayanBot source code from GitHub using Git and changes the current directory to the project root. This is the first step in self-hosting. ```shell git clone https://github.com/DakshNamdev/BrayanBot.git cd BrayanBot ``` -------------------------------- ### Create Addons Directory Source: https://github.com/bryanbotdev/bryanbot/wiki/Third-Party-Addons This command creates a new directory named 'Addons' in the current working directory. This directory is used to store custom addons for BrayanBot. ```shell mkdir Addons ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.