- Updated `.gitignore` to exclude scraper intermediate data. - Enhanced `justfile` with new scrape commands for raw data and LLM processing. - Added OpenAI dependency in `scraper/package.json`. - Modified `config.ts` to include OpenRouter API key and model. - Expanded `extract.ts` to capture additional product details such as discount percentage, frost resistance, and size options. - Updated `import.ts` to handle new product attributes during import. - Enhanced `index.ts` to support raw scraping mode and improved product extraction logic. - Updated `payload-types.ts` and `Products.ts` to include new product fields. - Enhanced frontend components to display new product attributes and filters for availability and frost resistance. - Improved error handling and logging in scraper functions. - Added new features for managing product variants and specifications in the admin interface.
9 lines
233 B
Plaintext
9 lines
233 B
Plaintext
# Payload CMS (for direct import mode)
|
|
PAYLOAD_API_URL=http://localhost:3000/api
|
|
PAYLOAD_EMAIL=admin@advdoors.ru
|
|
PAYLOAD_PASSWORD=
|
|
|
|
# OpenRouter (for LLM processing)
|
|
OPENROUTER_API_KEY=
|
|
OPENROUTER_MODEL=google/gemini-3.1-pro-preview
|