### Install Dependencies (Development) Source: https://github.com/byteholic/teleplate/blob/main/README.md Installs all necessary dependencies for development mode, including dev dependencies. This command is used before starting the bot in watch mode. ```bash bun install ``` -------------------------------- ### Environment Variables Setup Source: https://github.com/byteholic/teleplate/blob/main/README.md Copies the example environment file to `.env` for configuration. This is a crucial first step for setting up the bot's environment variables, including the essential BOT_TOKEN. ```bash cp .env.example .env ``` -------------------------------- ### Start Bot in Production Mode (with Type Checking) Source: https://github.com/byteholic/teleplate/blob/main/README.md Starts the bot in production mode, including type checking. This command requires development dependencies to be installed and ensures code integrity. ```bash bun start ``` -------------------------------- ### Install Production Dependencies Source: https://github.com/byteholic/teleplate/blob/main/README.md Installs only the production dependencies, excluding development-specific packages. This is recommended for deploying the bot to a production environment. ```bash bun install --only=prod ``` -------------------------------- ### Start Bot in Production Mode (Force) Source: https://github.com/byteholic/teleplate/blob/main/README.md Starts the bot in production mode, bypassing type checking for a faster startup. This is useful for quick restarts or when type checking is not immediately necessary. ```bash bun run start:force ``` -------------------------------- ### Start Bot in Development Mode Source: https://github.com/byteholic/teleplate/blob/main/README.md Launches the bot in development mode with auto-reloading capabilities. This command utilizes `bun run dev` to monitor code changes and restart the bot automatically. ```bash bun run dev ``` -------------------------------- ### Directory Structure Overview Source: https://github.com/byteholic/teleplate/blob/main/README.md Illustrates the project's directory structure, highlighting key directories like `locales` for localization and `src` for bot code, including common, helpers, middlewares, and modules. ```typescript project-root/ ├── locales # Localization files └── src # Codes ├── common # Common Files like Custom Context ├── helpers # Helper functions ├── middlewares # Bot middlewares ├── modules # bot Modules │ ├── example # Module Name │ │ ├── example.module.ts # Get updates │ │ └── example.service.ts # Answer updates │ ├── somthing # other modules ├── bootstrap.ts # bot entry point └── index.ts # Application entry point ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.