X
    Categories: Learn Laravel Tutorials, Tips And Guides

How to Install Doptor CMS on Cloud

In this article, I will test and install Laravel Doptor CMS and EMS on the Cloudways Platform.

Cloudways is the ideal option for testing and hosting Doptor CMS because it offers the best managed cloud hosting environment for Laravel. The developers have SSH access  into the application folder structure and Composer comes pre installed so that the developers could proceed straight into the installation process without worrying about installing prerequisites for the CMS.

But before diving into the deep end, I will introduce Doptor and briefly go over several important features.

What is Doptor?

Doptor is an open source CMS and EMS built on top of Laravel 5.1 and features a fully responsive admin panel. Once it is installed, you will get a separate backend, admin area and a front end. Some important features of Doptor are:

  • Bootstrap Design
  • Cross Browser Support
  • Form Builder
  • Module Builder
  • User Management

Doptor is still in the development stage and you should see regular updates in the feature, However, the current version is stable enough for installing and demonstration of the features.

Install Doptor on Cloud Servers

You will need a valid account on Cloudways. If you do not yet have one, you can sign up for an account quickly and easily.

Once you are logged into your Cloudways account, launch a new server (with your desired specifications) with a PHP Stack application. Check out the following GIF for more details.

Related: How To Install Laravel

Once the server and the application are up and running, click on the Applications from the menu and select your newly created application on the next page.

Now from the left sidebar menu, select Application Settings.


The Application folder name can be found on the Application Settings page.

For SSH Credentials, goto Servers in the menu and select your server. The server credentials are available in the Master Credentials section.

Now use SSH to connect to your server using puTTY.

Related: How to Deploy Your PHP Application

Now in puTTY, type the following command to go to your application public_html folder:

cd applications/<app folder name>/public_html

Now run the following command to remove all the files from it:

rm -rf *

Visit the Doptor official Git repo and copy the link ‘Download as zip’. Run the following command to download it:

wget https://github.com/Doptor/Doptor/archive/master.zip

At this point, Doptor would be downloaded. The next step is to unzip it. For this, run the following command:

unzip master.zip

Once the unzip process finishes, run the following command to rename the folder to ‘doptor’:

mv Doptor-master/ doptor

Next, type the following command to go into the doptor folder:

cd doptor

Now run the following command to install all the required dependencies:

composer install

The download process is over and now I will demonstrate the installation process. For this, go back to your Application Settings page and change the webroot to ‘doptor/public’.

 

Now click the Launch app button (found at the top).

You should see this page:

Accept the agreement and click the Continue button. On the next screen, enter the database credentials ( found at the Application Access Detail page).

Fill in the database credentials and click Submit button. In the next screen, click the Run The Installation button. On the next screen that pops up, fill in your website admin credentials.

 

And click the Install button. The installation process requires a few minutes. Next, you will see this screen:

If you see the above screen, the installation has been a success.

It’s your turn to install Doptor CMS now! If you face an issue during the process or would like to contribute to the discussion, leave a comment below.

Ahmed Khan: Ahmed was a PHP community expert at Cloudways - A Managed PHP Hosting Cloud Platform. He is a software engineer with extensive knowledge in PHP and SEO. He loves watching Game of Thrones is his free time. Follow Ahmed on Twitter to stay updated with his works. You can email him at ahmed.khan@cloudways.com