Organizations switching to online teaching for Students and onboarding employees

Organizations switching to online teaching for Students and onboarding employees

The novel coronavirus has brought such unforeseen disruptions in all aspects of our lives that we haven’t thought in our wildest dreams just a few months back. From businesses to academia, and from politics to worship, no facet of human life is left unaffected by this global pandemic. All the countries around the globe have placed severe lockdowns and stringent SOPs to enforce social distancing and minimize the contagion. According to medical researchers, social distancing has become a reality and we have to live with it, at least, for a foreseeable future.

Under such circumstances, it is virtually impossible to hold regular classes in schools and colleges or conduct in-person interviews to hire and train new employees. For many companies, it wreaked havoc, but others adapted modern technology and digital tools to continue providing services to the people and avoid the total shut down of their supply chains. That is why online onboarding new employees with LMS (learning management system) has become a new normal and more and more companies are shifting towards online training of their workers.

Similarly, majority educational institutions have embraced online teaching which rhymes exactly with working from home. This exponential growth of online learning has put much load on the learning management system (LMS), an EdTech platform, and almost all the universities and colleges in North America and elsewhere have almost completely transitioned to virtual or distant learning. The chart showing the transition of higher education enrollments in Canada and America is:

A chart from Enrollment Transition in North America

Online Learning During Pandemic

Needless to say, Covid-19 has significantly affected the field of education. Online teaching and learning have become more necessary than ever as around 1.2 billion students were out of classrooms due to the closure of educational institutions. In such times, we witnessed a dramatic rise in the usage of Moodle and other LMS around the world. Research studies conducted during the past few weeks show an exponential growth in the usage of online learning management systems like Moodle.  As per data from LMS and Moodle Usage.

  • Instructure: Witnessed a 60% increase in concurrent users on LMS Canvas in just two weeks.
  • Blackboard: It saw an increase of 400% in the total number of logins for the Learn LMS, and almost 3600% increase in the number of virtual classrooms.
  • Moodle: The usage of Moodle has increased significantly during a pandemic. We cannot predict the exact number of users at any time however, the total number of sites registered with Moodle increased by 30% in a single, and similarly, the use of Moodle Cloud also increased by 4-times during last few weeks.
  • In the same way, Schoology witnessed a 4x increase in its LMS usage from the previous maximum.

It is pertinent to mention that there already was a stimulus towards online teaching and learning before Covid-19 and the total investments in this filed (EdTech) were around $19b in 2019, but, not surprisingly, it is forecasted to reach more than staggering $350b by 2025, thanks to Covid-19. It shows how many companies and universities are investing in online learning tools to offset the losses caused by Covid-19. From open-source LMS like Moodle, and video conferencing tools to video tutoring and online boarding, the world has witnessed an exponential boost in the usage of digital tools for online learning and teaching.   

Employees Online Onboarding During Covid-19 Era

It is projected that LMS (learning management system) will accelerate employees online boarding and training in the years to come. It is no more a luxury or perk used by tech-giants to bring in new workers rather a new normal that all the companies have to acquaint themselves with. The majority of companies including Amazon, Facebook, Microsoft, and Google have instructed their employees to work from home since many critical and essential businesses cannot afford to have complete shutdown so they are resorting to virtual onboarding and working to continue providing essential services to the people. Almost all the workplace tasks like hiring new employees through in-person interviews, acclimating to the company’s policies and culture, and learning required skills to carry out individual and team-roles are being done by online boarding.  

Data from Udemy

Udemy is the largest online teaching and learning platform. It released a report on April 30 to analyze the surge in its customers due to Covid-19. The statistics shows:

  • 4.25x increase in consumer enrollment.
  • Instructors created 55% more content
  • Businesses and governments have used the Udemy platform almost 80% more than pre-COVID levels. 

To conclude, it would be wrong to say that because of Covid-19, every domain of human life is affected especially education and employment as governments imposed stringent lockdown to ensure social distancing. However, it provided an unprecedented stimulus to online teaching and learning and all the educational institutions and businesses are resorting to remote education, online boarding, and telecommuting. That is why the usage of LMS like Moodle has witnessed tremendous surge and this trend is likely to only increase in the future.

How to Run Moodle with Docker Compose

How to Run Moodle with Docker Compose

In this tutorial we are going to have a Moodle Instance up and running on a Virtual Machine – inside Docker Containers.

First of all, install and get Docker up and running. Then, download Moodle or make sure you have a Git-Repository ready at hand. We are going to use docker-compose for this task. Now let’s try and Run Moodle with Docker.

Moodle with Docker

We need a container that will have all the needed technology to run and serve the Moodle source code (your repository). This configuration will come from an Image, that we will use and configure through a docker-compose.yml file. Create a file docker-compose.yml and insert the version of docker-compose syntax that we are going to use:

version: "3.3"

These Technologies are needed:

  • Moodle Container
    • Operating System (Ubuntu)
    • Server (Apache2, Nginx)
    • PHP7.x (incl. php-curl, php-mysql, etc.)
  • Database Container
    • MariaDB 10+

Database Docker Image

We are going to use a simple and straightforward solution from bitnami. We simple create a service that will use this image, and set some parameters like username, db_name, etc.

services:
  mariadb:
    image: "bitnami/mariadb:10.1"
    networks:
      - moodle-net
    environment:
      - MARIADB_USER=bn_moodle
      - MARIADB_DATABASE=bitnami_moodle
      - ALLOW_EMPTY_PASSWORD=yes
    volumes:
      - type: bind
        source: /home/maria_data
        target: /bitnami
    ports:
      - "3306:3306"

We call our service ‚mariadb‘, expose some ports (3306) and bind a volume to persist our data on our host machine. We also attach ‚mariadb‘ to a network moodle-net. Also, make sure that docker can read/write the /home/maria_data folder on your host. We set rwx access for now (which is not recommended), please make sure to set the proper rights.

sudo chmod a+rwx /home/maria_data/

Server Docker Image

There are already built images for these technologies: webdevops/php-apache:7.3 & bitnami/mariadb.

Let’s pull and test the PHP & Apache image first.

#Download
docker pull webdevops/php-apache:7.3

# Run Image (Copy image ID. 'docker images')
docker run -d -p 80:80 efec3d223189

Now navigate to localhost or your public IP Address. You should see an empty Apache2 page.

Moodle and Docker

This page is the result of the file ‚index.php‘ in container in folder /app. Worked fine. To use this image as a service in our config file, we need to create a new service in docker-compose.yml.

  moodle:
    image: "webdevops/php-apache:7.3"
    networks:
      - moodle-net
    environment:
      - MOODLE_DBHOST=mariadb
      - MOODLE_DBPORT=3306
      - MOODLE_DBUSER=bn_moodle
      - MOODLE_DBPASS=''
      - MOODLE_DBNAME=bitnami_moodle
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - type: bind
        source: /home/moodle_data
        target: /moodledata/moodledata
      - type: bind
        source: /home/gita-moodle
        target: /app
    depends_on:
      - mariadb

[et_bloom_inline optin_id=“optin_5″]

We specify the image that we tested previously. Specify the network to be same as the network of mariadb container. The Env Vars that we define, will be used by moodle in config.php. We open ports and specify the volumes. We make sure that moodle container only starts after mariadb container is up with the depends_on option. Make sure /home/moodle_data is writable.

sudo chmod a+rwx /home/moodle_data/

Before we continue, in these courses you can learn how to create backend and frontend application. Both of which you can easily deploy and serve with Docker. And now you know how to use docker-compose. Expand your skill-set with these courses.

Finish line

At last, we need to define our network and volumes:

networks:
  moodle-net:
    driver: bridge

volumes:
  mariadb_data:
    driver: local
  moodle_data:
    driver: local

Now let’s boot up these containers with and visit localhost or your public ip.

docker-compose up -d

You should see the installation process. Enter your Database data (see ENV VARS in MariaDB Service. After that a config.php file will be created. If not, copy the code and create a config.php file in root folder.

Moodle Installation process Docker

After finishing up the setup process of moodle, you’ll finally see your ready working moodle instance. Now you run Moodle with Docker Containers.

After setting up moodle. Your host volumes/folders will be filled with data that comes from containers. E.g. moodle population a predefined folder structure in moodle_data.

ls moodle_data/
cache  filedir  lang  localcache  lock  moodle  muc  sessions  temp  trashdir

Same, and more importantly, applies to mariadb container. Our Database is now persisted on our host machine.

/home/maria_data/mariadb/data# pwd
/home/maria_data/mariadb/data
/home/maria_data/mariadb/data# ls
aria_log.00000001  aria_log_control  bitnami_moodle  ibdata1  ib_logfile0  ib_logfile1  multi-master.info  mysql  mysql_upgrade_info  performance_schema  tc.log  test

[pods name=“coach“ slug=“714″ template=“Coach Template“]