Going Live
Deployment Hub
Prepare and launch your Lacelium application into production. Choose your target hosting infrastructure below for dedicated step-by-step guides covering Linux VPS, Windows Server IIS, cPanel shared hosting, or containerized Docker and Cloud PaaS platforms.
Essential Production Pre-Flight Checklist
- Environment Mode: Set
APP_ENV=productionandAPP_DEBUG=falsein.env. - Optimized Autoloader: Run
composer install --no-dev --optimize-autoloader. - Strict DocumentRoot: Ensure the web server document root points exclusively to the
public/folder, keeping application logic isolated. - Writable Directories: Grant write permissions for
storage/andstorage/cache/to the web server process user. - Nexify Real-Time Endpoint: Nexify automatically connects to your application's domain/port (e.g.
wss://yourdomain.com), or setNEXIFY_PUBLIC_URLfor custom CDN/proxy paths.
Target Hosting Environments
Select your deployment environment for detailed architecture diagrams, Nginx/Apache/IIS configs, and process supervisor scripts:
| Target Environment | Runtime Stack | Guide Link |
|---|---|---|
| Linux Dedicated / VPS | Ubuntu / Debian / RHEL with Nginx, PHP-FPM, and systemd | Linux VPS Guide → |
| Windows Server (IIS) | Windows Server with IIS 10, FastCGI, and URL Rewrite 2.1 | Windows IIS Guide → |
| cPanel / Shared Hosting | Apache / LiteSpeed with .htaccess and cPanel symlinks |
cPanel Guide → |
| Docker & Cloud PaaS | Multi-stage Dockerfile, Fly.io, Railway, Render, Cloud Run | Containers & PaaS → |
Production Optimization Steps
Execute these terminal commands prior to routing live traffic:
# 1. Install production dependencies without development dev-tools
composer install --no-dev --optimize-autoloader --no-interaction
# 2. Clear stale cache files
php dipperlook cache:clear
# 3. Execute outstanding database migrations
php dipperlook migrate --force
Next Steps
- Review runtime requirements and project bootstrapping in Installation Guide.
- Configure persistent WebSocket background workers in Nexify Real-Time.
- Set up production database connection pools in Database & Eloquent.