Quick Setup
This guide will help you get DentControl running locally in just a few minutes.Run Automated Setup
DentControl includes a convenient setup script that handles installation:This single command will:
- Install PHP dependencies via Composer
- Copy
.env.exampleto.env - Generate application key
- Run database migrations
- Install Node.js dependencies
- Build frontend assets
The setup script uses SQLite by default, so no additional database configuration is needed!
Start the Development Server
Launch all development services with one command:This starts:
- Laravel server (http://localhost:8000)
- Queue worker for background jobs
- Pail logs for real-time log monitoring
- Vite dev server for hot module replacement
All services run concurrently with color-coded output for easy monitoring.
Access the Application
Open your browser and navigate to:You’ll see the login screen. The default super admin credentials need to be created through database seeding or manual registration.
Environment Configuration
The default.env file comes pre-configured for local development:
.env
For production deployments, you’ll want to configure a proper database (MySQL/PostgreSQL) and mail service. See the Installation Guide for detailed configuration options.
Verify Installation
Confirm everything is working:User Roles Overview
Once logged in, DentControl provides different dashboards based on user roles:Super Admin
- Access at
/admin/dashboard - Manage all clinics via
/clinicas - Manage all users via
/usuarios - Full system control
Dentista (Dentist)
- Access at
/dentista/dashboard - Manage patients via
/pacientes - View and manage clinic operations
- Create and track treatments
Asistente (Assistant)
- Access at
/asistente/dashboard - Manage appointments via
/agenda - Handle patient reception
- Schedule management
Development Workflow
When developing with DentControl:- Run
composer dev- Starts all services with live reload - Make changes - Edit PHP, Blade, or CSS/JS files
- See updates - Changes reflect automatically:
- Frontend assets: Hot reload via Vite
- Backend code: Refresh browser after changes
- Check logs - Monitor the Pail output for errors and debugging
The
composer dev command uses concurrently to run multiple processes. Press Ctrl+C to stop all services at once.Common Tasks
Adding a New Clinic
- Log in as super admin
- Navigate to
/clinicas - Click “Create Clinic”
- Fill in clinic details (name, RFC, address, contact)
- Upload clinic logo (optional)
- Save and activate
Creating Clinic Users
- Navigate to
/usuarios - Click “Create User”
- Select clinic and assign role (Dentista/Asistente)
- Provide user details and credentials
- Activate user account
Managing Patients
- Log in as Dentista
- Navigate to
/pacientes - Add patient with complete information
- Patient is automatically associated with your clinic
Troubleshooting
Server won't start
Server won't start
Make sure port 8000 is not in use:Then restart with
composer devDatabase errors
Database errors
The database file should be at
database/database.sqlite. If missing:Assets not loading
Assets not loading
Rebuild frontend assets:
Permission errors
Permission errors
Ensure storage and cache directories are writable:
Next Steps
Now that you have DentControl running:- Read the Installation Guide for production deployment
- Explore the API documentation for custom integrations
- Configure email settings for notifications
- Set up automated backups
Need Help?
For detailed configuration and troubleshooting, see the full Installation Guide.