Getting Started with the Dealers Site
This guide covers the prerequisites and first steps for working on the Dealers Site locally.
Prerequisites
| Tool | Notes |
|---|---|
| PHP 8.1+ | WordPress requires at least PHP 8.1 for WooCommerce 8+ |
| MySQL / MariaDB 8.0+ | Primary database |
| Composer | For plugin/theme PHP dependencies |
| Node.js 18+ | For theme asset compilation (Webpack Mix / Vite) |
| Laravel Herd or XAMPP / Local by Flywheel | Local WordPress server |
Local Setup
- Clone the repository locally.
- Create a local MySQL database and import the sanitised staging database dump.
- Copy
wp-config-sample.phptowp-config.phpand fill in DB credentials. - Update
WP_HOMEandWP_SITEURLconstants to your local domain (e.g.,https://dealersscottsdale.test). - Navigate to
wp-content/themes/suma-elementor/and install theme dependencies:
npm install
- Compile theme assets:
npm run dev # development (watch)
npm run prod # production build
- Install plugin dependencies (for plugins that use Composer):
cd wp-content/plugins/suma-koolreports && composer install
Admin Access
The WP admin is at /wp-admin. Use your staging or local credentials. For a fresh install, create an admin user via WP-CLI:
wp user create admin [email protected] --role=administrator --user_pass=secret