### Run Local Development Setup Script Source: https://github.com/idosal/agentllm/blob/main/README.md This script simplifies the local development setup process. It automates dependency installation and configuration. ```bash ./setup.sh --local ``` -------------------------------- ### Run Docker Setup Script Source: https://github.com/idosal/agentllm/blob/main/README.md Use this command to set up AgentLLM using Docker. Ensure you have Docker installed. ```bash ./setup.sh --docker ``` -------------------------------- ### Create Database Migrations and Run Development Server Source: https://github.com/idosal/agentllm/blob/main/README.md After setting up the environment and potentially configuring the database, push database migrations and start the development server. ```bash # Create database migrations npx prisma db push npm run dev ``` -------------------------------- ### Install Node.js Dependencies Source: https://github.com/idosal/agentllm/blob/main/README.md Navigate to the cloned repository directory and install all necessary Node.js dependencies using npm. ```bash cd AgentLLM npm install ``` -------------------------------- ### Run AgentLLM in GitHub Codespaces Terminal Source: https://github.com/idosal/agentllm/blob/main/README.md After the setup script completes in GitHub Codespaces, you can start the AgentLLM development server using this command. ```bash npm run dev ``` -------------------------------- ### Setup AgentLLM in GitHub Codespaces Source: https://github.com/idosal/agentllm/blob/main/README.md Initiate AgentLLM setup within GitHub Codespaces by running the local development script and providing your OpenAI API key when prompted. ```bash bash ./setup.sh --local ``` -------------------------------- ### Run Docker Compose Setup Script Source: https://github.com/idosal/agentllm/blob/main/README.md Use this command to deploy AgentLLM using Docker Compose. This is an alternative to the basic Docker setup. ```bash ./setup.sh --docker-compose ``` -------------------------------- ### Environment Variables Configuration Source: https://github.com/idosal/agentllm/blob/main/README.md Create a .env file in the root of the project and populate it with the required environment variables. Ensure you generate a unique NEXTAUTH_SECRET. ```bash # Deployment Environment: NODE_ENV=development # Next Auth config: # Generate a secret with `openssl rand -base64 32` NEXTAUTH_SECRET=changeme NEXTAUTH_URL=http://localhost:3000 DATABASE_URL=file:./db.sqlite # Your open api key OPENAI_API_KEY=changeme ``` -------------------------------- ### Use SQLite with Prisma Source: https://github.com/idosal/agentllm/blob/main/README.md Execute this script if you intend to use SQLite as your database. This modifies the Prisma schema accordingly. ```bash ./prisma/useSqlite.sh ``` -------------------------------- ### Clone AgentLLM Repository Source: https://github.com/idosal/agentllm/blob/main/README.md Clone the AgentLLM repository from GitHub to your local machine. Replace YOU_USER with your GitHub username. ```bash git clone git@github.com:YOU_USER/AgentLLM.git ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.