How to Mount and Change Themes in Tutor Dev Maple

CodeTrade
1061 Views

Once you've successfully installed the Tutor Dev Maple release on your system, it's time to initiate the mounting process within this release. If you require a quick review of the installation steps for Tutor Dev Maple, you can access the provided link.

Read More: Tutor Dev Installation With Maple Release

For mounting and changing themes in Tutor Dev Maple, you can follow the comprehensive guide, we will explore the procedure of mounting in the Tutor Dev Maple Release customize or apply themes in Tutor Dev Maple. Let’s start step-by-step Mounting Tutor Dev Maple Release.

Mounting In Tutor Dev Maple Release

1. Copy Container Folder

$ tutor dev copyfrom lms /openedx/edx-platform ~/tutor_maple/edx-platform

The given tutor dev command will copy the contents of the /openedx/edx-platform folder from the Tutor development container to the ~/tutor_maple/edx-platform directory on your local machine.

Mounting-Tutor-Dev-Maple-Release-1-codetrade

2. Mount The Folder

$ tutor dev bindmount lms /openedx/edx-platform

The given command will bind mount the /openedx/edx-platform folder from the Tutor development container to your local machine.


Mounting-Tutor-Dev-Maple-Release-2-codetrade

In this case, the /openedx/edx-platform folder contains the Open edX platform code. By bind mounting this folder, you will be able to make changes to the code on your local machine and see the changes reflected in the Tutor development container.

Follow the same process for other services: For example,

2.1 Bindmount LMS Worker
$ tutor dev bindmount lms-worker /openedx/edx-platform

Mounting-Tutor-Dev-Maple-Release-3-codetrade

2.2 Bindmount CMS
$ tutor dev bindmount cms /openedx/edx-platform

Mounting-Tutor-Dev-Maple-Release-4-codetrade

2.3 Bindmount CMS Worker
$ tutor dev bindmount cms-worker /openedx/edx-platform

Mounting-Tutor-Dev-Maple-Release-5-codetrade

3. Make an Override Docker File

$ vim "$(tutor config printroot)/env/dev/docker-compose.override.yml"

This command will open the docker-compose.override.yml file in the env/dev directory of the Tutor project root using the vim text editor.

Once you have opened the docker-compose.override.yml file, you can make changes to the override file.

4. Add Your Mounts Path to the Services

Add your mounted services inside the created docker-compose.override.yml file to save your mounts. The image below illustrates this point.

Mounting-Tutor-Dev-Maple-Release-6-codetrade

5. Start and Stop Containers

After mounting, you can stop the containers with the given command.

$ tutor dev stop

Once the containers are stopped, you can start them again with the command.

$ tutor dev start

Now, the mounts will be preserved even after a restart.

Simple Steps to Apply Themes in Tutor Dev Maple

Follow the given steps to apply the theme in the Tutor Dev Maple

Step-1: Copy the Theme Folder

Copy the folder of the themes you want to apply from tutor_maple/edx-platform/themes dir and paste it to the given directory

$ (tutor config printroot)/env/build/openedx/themes

Step-2: Set Theme

$ tutor dev settheme {{name-of-folder}}

The command sets the theme for the Open edX platform running in Tutor development mode. The first argument to the command is the name of the theme folder. The theme folder should be located in the env/build/openedx/themes/ directory.

For example, Here we want to set the Stanford theme into our Open edX development Platform, so we used the given command.

$ tutor dev settheme stanford-style

Change-Themes-in-Tutor-Dev-Maple-1

The command sets the Stanford theme as the active theme for the Open edX platform running in Tutor development mode. The Stanford theme is a pre-built theme that provides a clean and modern look for your project.

Step-3: Restart the server

$ tutor dev restart

After setting the theme, you have to restart the server using the restart command. The result of the applied Standford theme is shown in the given image.

Change-Themes-in-Tutor-Dev-Maple-2

Wrapping UP

With the given steps you can easily mount Tutor Dev Maple release into your local system as well and you can change the theme of your open edX development platform by using some simple steps. Still Confused? For expert advice or solutions, reach out to CodeTrade, an open edX development agency in India. CodeTrade boasts a team of highly experienced Open edX developers who are prepared to assist you with your open edX project.

Contact now, or hire talented Open edX developers from CodeTrade.

CodeTrade
CodeTrade, a Custom Software Development Company, provides end-to-end SME solutions in USA, Canada, Australia & Middle East. We are a team of experienced and skilled developers proficient in various programming languages and technologies. We specialize in custom software development, web, and mobile application development, and IT services.