Until recently, the only choice for serious CMS projects was WordPress. There has been other content management systems and platforms, but none came close to the flexibility and performance of WordPress.
Craft is one of the recent platforms that pose themselves as WordPress alternates. While other fail to come up to the mark, Craft manages to outdo the competition by adopting a single-track focus on content management. By providing an excellent environment that cater to all areas of content management, Craft has managed to hold its own in the very competitive market of content management systems.
Powered by Yii, the well known (and respected) PHP framework, Craft CMS offers a scalable content management and presentation platform that is both robust and adaptable to all types of projects.
In this tutorial, I will discuss how you can install Craft on you Cloudways server. Let’s get the show on the road! If you don’t have an account on Cloudways yet, Sign Up now.
Host Your PHP Apps with Us for 10x Faster Performance
Don’t Let Your Customers Run Away With The Downtimes. Deploy With Us Today!
What Is Craft CMS?
The Craft CMS is a self-hosted PHP 7 application, powered by Yii2 framework. It is an easily manageable CMS that allows users to customize their digital experience on the web and beyond. We can install Craft CMS very easily and can connect its storage to MySQL or PostgreSQL as per the project requirements. The templating done here is powered by Twig.
Some of the features include:
- Users can perform Admin tasks and content creation on a user-friendly panel.
- It gives a fresh start for content modeling and front-end development.
- The CMS gives you full autonomy to structure your content as they way you like.
- Over 370 plugins are available.
- It has a strong community filled with professional members.
Step 1: Launch a New Server
Once you are Sign Up, launch a new server with PHP Stack application where we will install Craft CMS.
Wait for Cloudways to finish launching the server. Next, select the Application and go to the Application Settings.
Edit application folder name to craftcms and click on Save.
Step 2: Download Craft CMS
Now go to your server and launch SSH Terminal. Log in with your credentials.
Once you are logged in, simply run the download command to access the Craft CMS project.
- Unzip the Craft CMS zip file that you have just downloaded.
Now change the folder name as required like craftcms.
- Open the .env file and change the DB_DATABASE, DB_USER, and DB_PASSWORD, so that you can save newly created database on our server.
- Navigate to Application Settings on the Cloudways platform and reset the permission.
- You can either generate a security key by using the following command, or you can manually insert the key by accessing the .env file.
- You can access the webpage by adding web/index.php/admin/install at the end of the URL to open the Craft installer. If you see the monkey page (see below), everything has been configured successfully.
Now let’s begin the installation by clicking the Begin button. On the next page, create the admin account and click on Next.
In the next screen, give the site a name, setup the site URL and click on Finish Up.
Craft will now start the installation.
Once the process finishes, go to the Craft CMS application staging URL.
If you see the above message, Craft has been successfully installed on your Cloudways server.
I hope that you have no issues in installing Craft CMS on your Cloudways server. If you have a question or wish to add to the conversation, please leave a comment.
Craft CMS Plugins:
Craft CMS offers more than 370 plugins, ranging from Autoresponders to Maps along with the developer toolkits. You can access these plugins from the Craft CMS dashboard, Most of the plugins are free, while some plugins come with a price tag.
Check out the recently added plugins to the Craft CMS repository:
You can easily install the plugins by selecting the desired one from the dashboard.
Once you have installed the plugin, it will appear in the Utilities menu under System Report:
Craft CMS vs. WordPress
When we talk about a content-heavy website, it is not just about content, it is also about how to manage the content. The biggest CMS for web apps is WordPress, But Craft CMS is emerging out as a worthy challenger to WordPress. WordPress came out in 2003 and it quickly became popular because of its open-source platform. Whereas Craft CMS came out in 2012, offering only basic version as free and is not open source at all. When it comes to the community, WordPress has a much broader community as compared to Craft CMS.
Give Your PHP Applications Optimum Web Performance
Host Your PHP Apps With Us & See The Blazing Web Performance Yourself!
Design and Themes:
Craft CMS does not provide themes, but designs. Their designs have a large variety and are customizable easily.
WordPress offers design restrictions but provides the themes, so it is easy for beginners.
Easy to Use:
Craft CMS is lightweight and offers easily accessible plugins, but it does lack the choice over themes and the community support is not very strong.
WordPress has lots and lots of themes option and have more than 55K+ plugins. Moreover, it has a community so big that anyone can find assistance from any distant developer easily.
Q: How to update Craft CMS?
A: Craft CMS can be updated to newer versions within just a few clicks. Whenever an update is available, a notification appears in the Utilities navigation item in the sidebar. Just click on it and select Updates, it will display all the latest updates including platform versions and plugins.
Q: Is Craft CMS an open source platform?
A: No, Craft CMS is not an open source platform. Only the basic version of the CMS is free, while the rest are paid.
Q: What are some useful Craft CMS plugins?
A: There are many useful Craft CMS plugins available in the Plugin Store. Few of them to name are CodeMirror, ImageOptimize, SEOMatic, Splash etc.
Craft CMS has custom fields, localization, tight integration and built-in headless capabilities, which are quite friendly to use and configure by any ecommerce user.
With WordPress, you can perform customization within minutes. But if you are not using optimized coding structure, you can not get the intended results or materialize what you are looking for.
Launch PHP websites without the worry of Server Management.
Pre-Installed Optimized Stack with Git, Composer & SSH
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 firstname.lastname@example.org