Tutorial: Run Caligrafy on Cloudways?

9 minutes read

In this tutorial, we will learn how to run Caligrafy on Cloudways. Caligrafy is a web-based handwriting recognition tool that can be integrated into your applications for converting handwritten input into digital text.

  1. Sign up for a Cloudways account: Visit the Cloudways website and create an account. You can choose a suitable plan based on your requirements.
  2. Launch a server: Once you have signed up and logged in, click on the "Launch" button to create a new server. Select your preferred cloud infrastructure provider and configure the server size and location.
  3. Install Caligrafy: After your server is up and running, access it via SSH using a terminal or any SSH client software. Once connected, navigate to the root directory and execute the following command to install Caligrafy: composer create-project --no-scripts --no-dev caliberweb/caligrafy:dev-master
  4. Configure the web server: Set up your web server to serve the Caligrafy application. For example, if you are using Nginx, create a new server block and point the document root to the Caligrafy public directory.
  5. Configure the database: Create a new MySQL or MariaDB database for Caligrafy and configure the database details in the .env file located at the root of the Caligrafy installation.
  6. Run the migration: In the same SSH session, navigate to the Caligrafy directory and execute the following command to run the database migrations: php artisan migrate
  7. Set up the domain: If you haven't already, configure a domain name for your Caligrafy application either by pointing an existing domain or creating a new one.
  8. Test the application: Access your Caligrafy application using the configured domain in a web browser. You should now see the Caligrafy interface.


That's it! You have successfully run Caligrafy on Cloudways. You can now explore the different features of Caligrafy and integrate it into your applications for handwriting recognition.

Great Cloud Hosting Providers in 2024

1
DigitalOcean

Rating is 5 out of 5

DigitalOcean

2
AWS

Rating is 4.9 out of 5

AWS

3
Vultr

Rating is 4.8 out of 5

Vultr

4
Cloudways

Rating is 4.7 out of 5

Cloudways


How to enable CDN for Caligrafy on Cloudways?

To enable CDN for Caligrafy on Cloudways, you can follow these steps:

  1. Log in to your Cloudways account and go to the server where your Caligrafy application is hosted.
  2. Click on the "Applications" tab on the top menu.
  3. Choose your Caligrafy application from the list and click on it.
  4. In the left sidebar, click on the "CloudwaysCDN" option.
  5. On the CloudwaysCDN page, click on the "Manage" button.
  6. In the "Manage CloudwaysCDN" panel, you will see a toggle switch to enable/disable the CDN. Turn it on to enable the CDN for your Caligrafy application.
  7. Once enabled, you can configure the CDN settings according to your requirements. You can choose the CDN type, configure HTTP/2 support, HTTPS support, cache settings, and more. Make sure you review and adjust these settings based on your application's needs.
  8. Click on the "Save Changes" button to apply the CDN settings.
  9. After enabling the CDN, Cloudways will provide you with a temporary CDN URL. You can use this URL to quickly test if the CDN is working correctly for your Caligrafy application.
  10. Finally, make sure to clear any caching done by your website and test your Caligrafy application using the CDN URL to ensure that the CDN is working as expected.


Note: Enabling the CDN may take some time to propagate across the CDN network. So, it might take a few minutes before you see the full effect of the CDN on your Caligrafy application.


That's it! By following these steps, you should be able to enable CDN for Caligrafy on Cloudways.


What is the difference between Cloudways and other hosting providers?

There are several key differences between Cloudways and other hosting providers:

  1. Managed Cloud Hosting: Cloudways specializes in managed cloud hosting, which means they offer cloud infrastructure from top providers like Amazon Web Services (AWS), Google Cloud, DigitalOcean, and more. Other hosting providers may offer shared, VPS, or dedicated hosting options.
  2. Easy Setup and Management: Cloudways offers a user-friendly platform with a simplified setup process and intuitive management features. It is designed to make cloud hosting accessible even for non-technical users. Other hosting providers may have more complex setup procedures and interfaces.
  3. Scalability: Cloudways allows easy scalability of resources based on your needs. You can easily scale up or down your server resources (CPU, RAM, storage) as your website or application demands change. This flexibility may not be as readily available with other hosting providers.
  4. Pay-as-You-Go Pricing: Cloudways offers a pay-as-you-go pricing model, allowing you to pay only for the resources you use. You can monitor and manage your server performance to optimize costs. Other providers may offer fixed pricing plans.
  5. Performance and Reliability: Cloudways utilizes advanced caching technologies, SSD storage, and CDN integration to ensure high performance and reliability for your website or application. They also offer features like automated backups, server monitoring, and staging environments. Other providers may have varying levels of performance and reliability.
  6. Support: Cloudways provides 24/7 support through live chat and ticketing system. They offer assistance for server-related issues, migration, security, and performance optimization. Other hosting providers may have different support options and response times.


It's important to note that the specific features and differences may vary depending on the hosting provider you compare Cloudways with. However, the overall focus on managed cloud hosting, ease of use, scalability, pay-as-you-go pricing, performance, and support are common highlights for Cloudways.


How to enable automatic backups for Caligrafy on Cloudways?

To enable automatic backups for Caligrafy on Cloudways, follow these steps:

  1. Navigate to the Cloudways Platform and select your desired server/application.
  2. Go to the "Backup" tab on the left side menu.
  3. Click on the "Enable" button next to "Automated Backups."
  4. Choose the backup frequency based on your preference. You can select "Daily," "Every 12 hours," or "Every 6 hours."
  5. Set the number of retained backups you want to keep. This determines how many backups are stored before older ones are deleted.
  6. Enable the backup retention you desire. You can choose to retain backups for "1 day," "3 days," "1 week," "2 weeks," or "1 month."
  7. Click on the "Save Changes" button to enable automated backups.


Cloudways will now create automatic backups for your Caligrafy application based on the specified frequency and retention settings.


How to connect a domain to Caligrafy on Cloudways?

To connect a domain to Caligrafy on Cloudways, follow these step-by-step instructions:

  1. Log in to your Cloudways account and access your server dashboard.
  2. From the top menu, go to the "Applications" tab and select the Caligrafy application you want to connect the domain to.
  3. In the left sidebar, click on "Domain Management."
  4. On the Domain Management page, you will see a list of your application's current domains. Click on the "+" icon to add a new domain.
  5. In the "Domain Name" field, enter your desired domain, such as "example.com." Make sure to include the full domain, including the "www" if needed.
  6. In the "Application" dropdown, select your Caligrafy application.
  7. Choose the SSL certificate option that matches your requirements. You can either select "Let's Encrypt SSL" to enable a free SSL certificate or choose an existing certificate if you already have one.
  8. Click on the "Save Changes" button to add the domain to your Caligrafy application.
  9. After saving, you will see a record generated in the DNS records table with the necessary details.
  10. Now, you need to update your domain's DNS settings to point to the Cloudways server. This step varies depending on your domain registrar. You will need to access your registrar's DNS management panel and create the required DNS records. For the "A" (IPv4) record, create a new record with the hostname (or subdomain) and point it to the IP address provided in the Cloudways DNS records table. For the "CNAME" record, create a new record with "www" as the hostname and point it to the domain provided in the Cloudways DNS records table.
  11. Save the DNS changes in your domain registrar's panel.
  12. Return to the Cloudways Domain Management page and click the "Verify DNS" button next to the newly added domain.
  13. Cloudways will check the DNS records and verify if they are correctly pointing to your server. Once the verification is successful, the status will change to "Active."
  14. Lastly, you can test your new domain by accessing it in a web browser. You should see your Caligrafy application using your custom domain.


Please note that DNS propagation may take some time, so your domain might not be reachable immediately.

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

Related Posts:

Installing FuelPHP on Cloudways is a straightforward process that can be completed in a few steps. Here's a brief overview of how to install FuelPHP on Cloudways:Sign up for Cloudways: Go to the Cloudways website and create an account. Launch a new server:...
Installing Caligrafy on Cloudways is a straightforward process that can be done in a few steps:First, log in to your Cloudways account and navigate to the Applications tab. Click on the "Add Application" button to create a new application. Select your ...
Deploying Prometheus on Cloudways is a relatively straightforward process. Cloudways is a managed hosting platform that provides a hassle-free environment for deploying applications. Prometheus is an open-source monitoring and alerting toolkit that is widely u...