How to Install Laravel on AccuWeb.Cloud Platform?

How to Install Laravel on AccuWeb.Cloud Platform?

Laravel is a popular open-source PHP web application framework for developing web applications and web pages. Laravel is known for its rich syntax, developer-friendly features, and robust tools and libraries, making it easy to build scalable and maintainable web applications.

In Laravel, they use MVC, a basic framework for building web pages.

  • Model: This is where you store all the data for your website or app.
  • View: This is what people see on the screen when they visit your Web site or app.
  • Controller: The brain determines the data to display on the screen.

How to Install Laravel

Laravel is a web development tool that keeps the core code separate from the developers’ writing. This makes it easy to add new features. It can work with different databases and send messages through email, Slack, and more. It also supports websockets for building interactive apps. This article will guide you on installing Laravel using the AccuWeb.Cloud Dashboard.

Laravel Framework Installation

Step 1. Log in to your AccuWeb.Cloud Dashboard.

Step 2. Once logged in, locate and click on the “MARKETPLACE” button.

AccuWeb.Cloud Marketplace

Step 3. Navigate to the “Dev & Admin Tools” section in the Marketplace. Here, you can search for Laravel. Click on it to initiate the installation process.

Step 4. After clicking on Laravel, a popup window will appear. In this window, you will find an “Install” button. Click on it to start the installation process.

Install Laravel

Step 5. In the open dialogue, you will be prompted to specify the Name of the Environment and the Display Name for your Laravel installation. Fill in these details as required. This step allows you to customize your Laravel environment. After configuring, click on the “Install” button to proceed.

Add Environment and Display Name

Step 6. The installation process will take a few minutes to complete. Be patient while the AccuWeb.Cloud sets up Laravel for you.

Package is being Installed

Step 7. Once the installation is finished, a dialogue box will appear with the message “Your Laravel application has been successfully deployed.” This indicates that Laravel is now running in your AccuWeb.Cloud environment.

Step 8. To ensure a successful installation, you can immediately open the welcome page of a default Laravel project. Do this by pressing the “Open in Browser” button provided in the success message.

Successfully Installed

You will see the welcome page of Laravel. It has all the key links and information you need to begin working with the Laravel framework.

Laravel Welcome Page

How to add a database node to the Laravel environment?

Adding a database node to your Laravel environment is an important step to enhance the functionality of your web application. Here’s a detailed guide on how to do it:

Step 1. First, log in to your AccuWeb.Cloud Dashboard. This is where you manage your Laravel project and make changes to your environment.

Step 2. Locate your Laravel project within the AccuWeb.Cloud Dashboard. Inside your Laravel project, you’ll see options and settings. Look for the option labeled “Change Environment Topology” and click on it. Think of this as opening up the settings menu to make specific changes to your environment.

Change Environment Topology

Step 3. Now, add a database node to your environment. You can choose different types of databases, but let’s say you want to add MySQL. Note: If you decide to use the MySQL/MariaDB database cluster with ProxySQL in front of it, select the following database versions: MariaDB 10.2 or MySQL 5.7.

Step 4. Adding a database node also involves allocating the necessary resources to it. In the “Vertical Scaling per Node” section, specify the resources you want to allocate to your database node.  After configuring the database node and allocating resources, click the “Apply” button.

Vertical Scaling as per Node

Step 5. Your environment will be updated to include the new database node.

Environment Updated

Once the database node is successfully added to your environment, you will receive an email containing the database access credentials. These credentials are like the keys to your database, allowing your Laravel application to interact with it.

Conclusion

In conclusion, Laravel is like a magical toolbox for web developers. It facilitates them to develop websites and apps quickly. It follows a framework called MVC, making configuring and controlling objects simpler. You can use Laravel to create blogs, online shops, social media, websites, and all styles of apps. With these detailed steps, you have successfully installed Laravel using the MARKETPLACE feature in AccuWeb.Cloud environment.