This document lists the exact chronological commands and URLs required to get GrocerEase v2 running on your local machine, seed test data from the legacy SQL dump, and run the automated test suite.
Follow these steps in exact order to set up your environment:
Create your local environment file from the template:
cp .env.example .envRun composer to install framework requirements, Intervention Image processing, and S3-compatible cloud storage SDKs:
composer installphp artisan key:generateThis command drops all existing tables and re-seeds the application (Categories, Brands, Administrative accounts, Test users, and Products):
php artisan migrate:fresh --seedImport the 48 legacy product images from your previous website area to the current storage engine:
php artisan grocerease:migrate-imagesExpose the uploaded/migrated product images to the web-server by symlinking public paths:
php artisan storage:linkStart Laravel's built-in web server:
php artisan serveThe portal will be hosted at http://127.0.0.1:8000.
Ensure the full cart, payments, checkout, and session merging features are passing:
./vendor/bin/phpunitIf you need to manually wipe or seed specific aspects of your application database, use the following Artisan commands:
php artisan db:seedphp artisan db:seed --class=ProductSeeder| Role | Username / Email | Password | Access Rights |
|---|---|---|---|
| Administrator | admin@grocerease.com |
Admin@1234 |
All Admin features & Dashboard views |
| Customer (Test) | test@grocerease.com |
Test@1234 |
General Storefront, Cart, Checkout |
If you encounter any server errors (such as 500 Internal Server Error or migration failures) during testing, full trace logs are stored at:
📁 storage/logs/
- Main Log File: laravel.log
- Tailing Logs Live:
tail -f storage/logs/laravel.log
- Homepage Catalog: http://localhost:8000/
- Shopping Cart: http://localhost:8000/cart
- Checkout Flow: http://localhost:8000/checkout
- Sign In: http://localhost:8000/login
- Admin Dashboard: http://localhost:8000/admin
- Product Catalog Management: http://localhost:8000/admin/products
- Order Tracking Panel: http://localhost:8000/admin/orders