Admin-first content platform (Livewire admin) with desktop/mobile storefront variants.
- PHP
8.4 - Composer
2.x - Node.js
22.xand npm - MySQL/MariaDB
- Install dependencies:
composer install
npm install- Create environment file:
cp .env.example .env- Configure
.env:
APP_URL(for Herd/local domain)DB_CONNECTION=mysqlDB_HOST,DB_PORT,DB_DATABASE,DB_USERNAME,DB_PASSWORD
- Generate app key:
php artisan key:generate- After
.envDB credentials are valid and the target database already exists, run migrations:
php artisan migrate- Seed data:
php artisan db:seedExpected prompt:
Seed extended dummy content dataset (users, blog posts, info pages, FAQs)? (yes/no) [no]:
- Answer
nofor standard local baseline data. - Answer
yeswhen you need a larger content dataset for performance/testing. - You can also force this non-interactively with
SEED_DUMMY_DATA=true. - To run only dummy content seeding:
php artisan db:seed --class=Database\\Seeders\\DummyContentSeeder- Link storage:
php artisan storage:link- Build/start frontend assets:
npm run dev- Start app/runtime processes (if needed):
php artisan serve
php artisan queue:workThese are default local users for quick testing:
| Role | Password | |
|---|---|---|
| Admin | [email protected] |
admin |
| Editor | [email protected] |
editor |
| Customer | [email protected] |
customer |
Super-admin users are intentionally not listed in this table.
- Wholesale API endpoints are under
/api/v1/wholesale. - API access is controlled per user (
api_access_enabled) and via token abilities. - CLI token creation:
php artisan wholesale:token [email protected] client-namephp artisan optimize:clear
php artisan test
php artisan route:list