mirror of
https://github.com/tiennm99/store-scraper-bot-java.git
synced 2026-05-16 05:53:30 +00:00
bae876b086
Replaced ScoreScrapeBotTelegramClient with StoreScrapeBotTelegramClient and updated related references. Added BaseStoreScraperBotCommand for command error handling. Implemented AddGroupCommand and GetGroupCommand for managing allowed groups via admin commands. Improved CouchbaseUtil to ensure scope and collection creation. Updated logging configuration and environment example. Minor model and repository adjustments for initialization and group handling.
23 lines
549 B
Bash
23 lines
549 B
Bash
# Copy this file to .env and customize the values for your environment
|
|
# cp .env.example .env
|
|
|
|
# Couchbase configuration
|
|
COUCHBASE_CONNECTION_STRING=couchbase://localhost
|
|
COUCHBASE_USERNAME=admin
|
|
COUCHBASE_PASSWORD=your_password_here
|
|
COUCHBASE_BUCKET_NAME=store_scraper
|
|
|
|
# Telegram Bot configuration
|
|
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
|
|
TELEGRAM_BOT_USERNAME=your_bot_username
|
|
|
|
# Java configuration
|
|
JAVA_OPTS=-Xmx512m
|
|
|
|
# Logging configuration
|
|
LOG_LEVEL=INFO
|
|
|
|
# App configuration
|
|
ENV=DEVELOPMENT
|
|
ADMIN_IDS=1000001999,1000002000,1000002001
|