Prerequisites
Before you begin, ensure you have the following installed:- PHP 8.2 or higher
- Composer
- Node.js 18+ and npm
- SQLite (default) or MySQL/PostgreSQL
Installation
Install PHP dependencies
Install JavaScript dependencies
Create database
ShelfWise uses SQLite by default. Create the database file:
To use MySQL or PostgreSQL instead, update the
DB_CONNECTION and related settings in your .env file.Run migrations
Set up the database schema:This creates tables for tenants, users, shops, products, orders, and more.
Start the development server
- Laravel development server (http://localhost:8000)
- Queue worker for background jobs
- Vite dev server for hot module replacement
The
composer dev script uses concurrently to run multiple processes. You can also run them separately in different terminals if needed.Access the Application
Once the development server is running, open your browser to:Create Your First Tenant
ShelfWise is a multi-tenant application. Each business operates as a separate tenant with isolated data.Register as tenant owner
Fill in your business details:
- Business name
- Owner email
- Password
- Business type (retail, wholesale, etc.)
Set up your first shop
After registration, you’ll create your first shop location:
- Shop name
- Shop type (retail store, warehouse, etc.)
- Currency settings
- Tax/VAT configuration
Quick Commands Reference
What’s Next?
Complete Setup
Detailed installation instructions including database options and troubleshooting
Configuration
Configure mail, queues, storage, and other application settings
Multi-Tenancy
Understand how ShelfWise handles tenant isolation and data security
API Documentation
Explore the service layer API for integrations
Need Help?
If you encounter issues:- Check the Installation Guide for common problems
- Review Laravel logs in
storage/logs/laravel.log - Ensure all system requirements are met
- Join our community for support