X
    Categories: Learn Laravel Tutorials, Tips And Guides

Install AsgardCMS On Cloudways In Minutes

Reading Time: 4 minutes

When it comes to customization, even popular CMS (the list includes WordPress, Drupal, and Joomla) have limitations. This is one reason why new CMS appear so frequently on GitHub. Developers and designers focus on adding customization options to make sure that the end users have more freedom to customize the design and functionality of their CMS (often right from the backend).

Laravel is a popular PHP framework that is often used to develop cutting-edge CMS. In this article, I will introduce AsgardCMS, a modular multilingual CMS built using Laravel 5 and released under MIT license. The project for AsgardCMS initially started on Jun 10, 2015, and the latest stable version released on Jan 14, 2018.

The First Impressions

AsgardCMS is relatively a new player in the CMS market. The structure of the CMS is modular, with each part of the CMS being a separate module. All these modules are loosely coupled. The result is a very high level of flexibility and extensive room for customization.

Why Choose AsgardCMS?

Despite its recent arrival, AsgardCMS has amassed popular community because of the following reasons:

  1. AsgardCMS is developer friendly.
  2. The CMS is fully modular with every aspect implemented as a separate module.
  3. The CMS (including the backend) is multilingual.
  4. The emphasis of the CMS design is geared toward easy customization.
  5. Docker Support

Pre-Requirements

To be able to run AsgardCMS, you have to meet the following requirements:

  • PHP 7.0 or higher
  • PDO PHP Extension
  • cURL PHP Extension
  • OpenSSL PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • Mcrypt PHP Extension
  • GD PHP Library
  • MySQL 5.5
  • One of the following cache drivers: Memcached, Redis

Why Choose Cloudways To Host AsgardCMS?

Cloudways provides an amazing platform for deploying and hosting Laravel applications on the cloud infrastructure of your choice. Since Cloudways is dev-friendly, hosting your applications on the platform means that developers can focus on the development process rather than worrying about deployment and server management issues.

Cloudways is the best option to host AsgardCMS because the platform provides the latest versions of PHP with all the necessary extensions, pre-installed Composer, Git and cache drivers like Redis and Memcached. The result is that you could proceed with installing the CMS without worrying about pre-reqs.

If you do not have an account on Cloudways, sign up for free. Refer to the following GIF to setup the server and application in just a few clicks.

Install AsgardCMS

Now that you have your server ready for PHP application, launch the SSH terminal. Once it is up, go to the root of the application using the following commands:

cd applications

cd <yourapplicationname>/public_html

Next, type the following command to install AsgardCMS

composer create-project asgardcms/platform your-project-name

Once the installation finishes, go to the project folder by typing following command

cd <yourapplicationname>

Now run the following command to check the Laravel version of AsgardCMS.

php artisan -- version

Now that all the files of AsgardCMS are installed on your server, install AsgardCMS by running the following command.

php artisan asgard:install

This install command will perform the following actions:

  • Setup database information
  • Run the migrations
  • Run the seeds
  • Publish the assets
  • Create the first admin account

To get your database credentials, go to the Application tab and find the credentials there:

That’s It.

You can access the AsgardCMS homepage by using the application staging URL. Go to the Application tab and launch the application:

Note: Don’t forget to set your webroot according to your project directories.

You can now see the AsgardCMS home page. Access the backend by add /backend to the URL:

 

Final Words

Although AsgardCMS is relatively new,  it comes with an impressive set of features such as module management and multilingual support. In addition, it allows developers to customize almost all aspects of the CMS. So if you want to develop your own CMS, AsgardCMS is a smart starting point.

Saquib Rizwan :Saquib is a PHP Community Expert at Cloudways - A Managed PHP Hosting Cloud Platform. He is well versed in PHP and regularly contributes to open source projects. For fun, he enjoys gaming, movies and hanging out with friends. You can email him at saquib.rizwan@cloudways.com