This guide walks you through every step needed to get iLeben running on your local machine or a cPanel shared-hosting environment. By the end you will have the Laravel backend serving the Filament admin panel, the React frontend compiled and linked, and an admin user ready to log in. Plan for roughly 10–15 minutes on a machine with all prerequisites already installed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/scooller/Leben-site/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you start, make sure the following are available in your environment:- PHP 8.2+ —
php -v - Composer 2.x —
composer --version - Node.js 18+ —
node -v - MySQL 8+ —
mysql --version
Installation
Create and key your .env file
.env.example already contains every variable the application expects. Open .env and review the values — at minimum you will need to fill in your database credentials and Salesforce OAuth settings before the next steps.Configure the database connection
Open Create the database in MySQL if it does not already exist:
.env and set the MySQL connection details:Install frontend dependencies
Web Awesome Pro (
@web.awesome.me/webawesome-pro) requires an npm token. Set the WEBAWESOME_NPM_TOKEN environment variable before running npm install. The frontend/.npmrc file resolves the @web.awesome.me scope automatically once the variable is present.Build the frontend and return to project root
frontend/dist/, then runs pre-render and SEO validation scripts automatically.Create the storage symlink
storage/app/public to public/storage so uploaded media files are web-accessible.cPanel — create the public_html symlink
On cPanel shared hosting, the Laravel Replace
public/ directory must be served as public_html. Make sure public_html does not already exist before creating the symlink:devleben and laravel with your actual cPanel username and project directory name.Verify the Installation
Local development server
Start the Laravel development server:| URL | What you should see |
|---|---|
http://localhost:8000 | React frontend (production build) |
http://localhost:5173 | React frontend (Vite dev server with HMR) |
http://localhost:8000/admin | Filament admin panel login |
http://localhost:8000/api/v1 | API discovery endpoint |
Useful diagnostic commands
Configure Salesforce (Optional)
If you need Salesforce synchronisation, add these variables to.env:
Configure Payment Gateways (Optional)
Add gateway credentials to.env as needed:
For a full reference of every API endpoint, authentication flow, webhook payload, and cURL example, see the API Reference. For detailed payment gateway configuration and webhook setup, see Payments & Gateways.