SSH comes pre-installed on Mac and so is Git but you need to install Xcode. Some things may have changed since then so read the comments if you experienced issues trying to install Composer on Mac OS). To install Composer, you can follow this guide at: (Note: the article is outdated. MAMP 5.7 (this is the latest version as of writing this article).To begin, we need to make sure it meets all the requirements to run Drupal. It is also assumed you are using an Apple Mac and running MAMP since these are the development tools used in this tutorial but i do hope this tutorial may also be useful for MS Windows users. You don't need to be an expert, just some basic knowledge should be sufficient. It is assumed that you are comfortable using Composer, command line and Git. I think it would be easier to break this article into a few parts. However, it does have a better performance than most other web hosting service providers. This is caused by insufficient memory and increasing the memory often don't help either (Composer requires at least 2G of memory). Note: A2Hosting do offer Composer on their shared hosting plan but it can timeout and kill the process when trying to update. This article aims to install, update and manage your Drupal site for those that still choose to use a shared hosting platform. There are many other great advantages using Git as a version control system but for this article, we'll keep stick with the basics. You also have a backup copy to refer back to in case you mess things up by accident. Therefore, using Git is probably a better solution to speed up the process and ensure it is less prone to errors. This can be time consuming and you need to make sure it is manually properly copied over to avoid making any mistakes. How do we get around this issue if we cannot use Composer on shared hosting platform to manage the updates, modules and dependencies? There are different methods to tackle this but generally, it would be to run Composer locally on your machine to manage your local Drupal site and then either SFTP or Rsync your local copy to your live site. Composer is the recommended way to install and manage Drupal 8/9 and its 3rd party dependencies libraries. So what is the best way to install, update and manage a Drupal installation on a shared hosting platform when Composer is not available. Is it possible to run Drupal 8 or 9 on a shared hosting platform? the short answer is yes. DigitalOcean offers VPS at a very affordable price. Personally, I believe if you are serious about your business, it is recommended to go with a VPS server for the flexibility and better site performance. I had a few clients that did not want to run Drupal on VPS server as they were on a very tight budget so preferred to opt for a shared hosting platform such as A2Hosting.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |