Unlock AI power-ups — upgrade and save 20%!
Use code STUBE20OFF during your first month after signup. Upgrade now →

By Aratech Nusantara
Published Loading...
N/A views
N/A likes
Laravel 12 Deployment on Cloud Panel
📌 The process involves deploying a Laravel 12 project (a polyclinic medical information system) from a local environment to a Cloud Panel hosting service.
⚙️ The deployment begins by downloading the source code from Aratch Cloud GitHub and creating a new PHP site on the Cloud Panel, selecting Laravel 12 as the application type.
💾 Essential setup includes configuring the domain (e.g., `simple.id`), setting the PHP version to the latest (8.3), and creating a MySQL database within the panel.
File Management and Configuration
📂 Files must be uploaded via the file manager, extracted, and the root project contents moved from the nested folder into the directory accessible by the web server (`htdocs/domain_name/public`).
🔗 The web server configuration (Nginx settings) must be updated to point the root directory to the `/public` folder of the Laravel project.
🔑 The crucial step is renaming `env.example` to `.env`, setting `APP_DEBUG` to `false` for production, and updating the database credentials (`DB_DATABASE`, `DB_USERNAME`, `DB_PASSWORD`) to match the newly created MySQL instance.
Server-Side Commands via SSH
🧑💻 Access to the server is required via SSH using the provided credentials (user, IP address, password) to execute necessary commands within the project's public directory.
🛠️ Key commands executed sequentially include: `composer install` to load dependencies, `php artisan key:generate`, `php artisan migrate` to build database tables, and `php artisan db:seed` to populate initial data, such as the admin user credentials.
💻 To handle UI components relying on Node.js (for login/register functionality), Node.js version 20 must be installed, followed by `npm install` and `npm run dev`.
Key Points & Insights
➡️ After deployment, initial site access might show an SSL warning (non-HTTPS), which the narrator notes will be addressed in a future video on SSL import.
➡️ Successful login was verified using the credentials established via the `UserSeeder` (e.g., admin email and password 'password123').
➡️ The root directory for running composer and artisan commands is typically within `htdocs/domain_name/public`.
➡️ All necessary Linux commands and GitHub links will be provided in the video description for easy replication.
📸 Video summarized with SummaryTube.com on Dec 08, 2025, 11:49 UTC
Find relevant products on Amazon related to this video
As an Amazon Associate, we earn from qualifying purchases
Full video URL: youtube.com/watch?v=xgZfjuYeU94
Duration: 19:21

Summarize youtube video with AI directly from any YouTube video page. Save Time.
Install our free Chrome extension. Get expert level summaries with one click.