Skip to main content

Subscribe to my Life Learnings

Setting up a Drupal 9 web project from scratch on Ubuntu 2.04 (LTS)

Submitted by admin on Tue, 08/04/2020 - 19:07

Part of the fun on running your own website to me is hosting your own website, and I don't mean on a shared host.

I enjoy hosting on cloud servers where I can tweak the performance.

Today I wanted to write a tutorial on how to  live Drupal website on Ubuntu 12.04 in the shortest number of steps possible.

This this tutorial you will stand up a single Drupal 9 web application. I'll sprinkle in some Linux commands so you will feel me comfortable navigating your server.

Installing Drupal 9 for a new web project with Composer

Submitted by admin on Sat, 08/01/2020 - 20:01

So I guess with Covid I didn't realize Drupal 9 was released. I have been working with Drupal since the early 2000s, and although it is no longer part of my day job I still like to keep up on it.

Now before I get started I want you to know I am not starting from scratch.

I have an Ubuntu box running php - fpm.

I have already installed composer on this server.

If you don't know if composer is installed for you you can quickly check with this command:

Upgrade from PHP 7.2 to 7.4

Submitted by admin on Sat, 08/01/2020 - 10:26

 

Today, I sat down today to finally try out Drupal 9 and upon install realized I need to upgrade my php version from php 7.2 to at least php 7.3

    - drupal/core 9.0.2 requires php >=7.3 -> your PHP version (7.2.24) does not satisfy that requirement.

Alright here we go. 

A quick search suggests upgrading to php  7.4 requires some pretty simple steps. 

Android: Adding a Second Activity

Submitted by admin on Wed, 05/20/2020 - 21:56

Goals

  • Create an additional activity
  • Create the ability to navigate from the Main Activity to the second Activity

 

Create a second activity

To create the second activity, right-click the app folder and select New > Activity > Empty Activity

  • Name the activity SecondActivity and click Save

This will: