Skip to content

Development Setup

Set up a local development environment for DealAI.lt.

  • Local PHP 8.x environment
  • Local PostgreSQL database
  • Local Elasticsearch (via Docker)
  • Git for version control
version: '3'
services:
postgres:
image: postgres:13
ports:
- "5432:5432"
environment:
POSTGRES_DB: dealai_products
POSTGRES_USER: dealai_user
POSTGRES_PASSWORD: password
elasticsearch:
image: elasticsearch:7.17.0
ports:
- "9200:9200"
environment:
- discovery.type=single-node

Use local WordPress installation with the theme in /wp-content/themes/products.

  • VS Code with PHP extensions
  • phpMyAdmin/pgAdmin for database
  • Postman for API testing
  • Browser DevTools