- llm.js: This module likely interfaces with a large language model (LLM) to provide AI-driven functionalities such as text generation or natural language processing.
- db.js: This module handles database connections and basic database operations.
- imagedb.js: This module manages image-related database operations.
- redis.js: This module interfaces with Redis for caching or other data storage needs.
- mail.js: This module manages email sending functionalities.
- telegram.js: This module handles interactions with Telegram, likely for notifications or bot functionalities.
The config
folder contains configuration files for different environments and settings.
The application uses environment variables defined in the .env
file for configuration. Ensure this file is properly set up before running the project.
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install dependencies:
npm install
-
Set up the environment variables: Create a
.env
file in the root directory and configure the necessary variables. -
Run the application:
npm start
A deploy.sh
script is included for deployment purposes. Ensure the script is executable and properly configured.
chmod +x deploy.sh
./deploy.sh