1. Home
  2. Docs
  3. Edmo – Moodle Theme Documentation
  4. Demo Installation

Demo Installation

This doc will show you how to install Edmo demo content on your site.

Step 1. Create database

Go to your phpmyadmin and create a database.

Step 2. Import demo SQL file

Import the edmo.sql file

Step 3. Upload files

Now, you need to download the demo_files.zip file and the download link is available inside the Links.txt file of the unzipped file. After downloading then upload the demo_files.zip to your web server, and extract it.

You can also upload the demo_files folder to your web server using an FTP client, such as FileZilla (recommended).

After that, upload the edmo.zip theme file on demo_files/theme

Step 4. Upload moodle data files

Now, you need to download the moodledata.zip file and the download link is available inside the Links.txt file of the unzipped file. After downloading then upload the moodledata.zip archive to your web server, outside your webroot.

Your webserver has read-write permissions to the moodledata directory. Also, please visit Moodle.org to understand more details about the permissions.

Step 5. Configure your config.php

Now you have to configure the config.php file.

  1. Update the config.php file from the Moodle root on your web server.
  2. Update the database name, user, and password to match the new database credentials.
  3. Update the database port and host.
  4. Update the website root to your website URL, or your localhost address (e.g., localhost/moodle/edmo)
  5. Update the “dataroot” to match the location of the moodledata directory.
  6. Update the “directory permissions” to the directory permissions set for your moodledata directory.
Step 6. Login

Once the Edmo demo installation is completed, you can now login to your new Edmo website with the following administrator credentials.

Go to {yoursite.com}/login/index.php to login directly.

USERNAME: edmo
PASSWORD: [email protected]

Step 7. DB search and replace

After logging in, navigate directly to {yoursite.com}/admin/tool/replace/ via your web browser’s address bar and search and replace URL.

You need to perform a search within the whole database for the value: http://localhost/moodle/edmo/ and then replace it with your own site URL.

Step 8. Purge the Moodle cache

After logging in, navigate directly to {yoursite.com}/admin/purgecaches.php via your web browser’s address bar and click the ‘Purge all caches’ button.

This process may take several minutes.

Step 9. RTL Setup

If you want to use, RTL then installs RTL supported language from Site Administration->Language settings. And then, go to the following example link and update caches.

yourdomain/theme/index.php?lang=ar

Add URL lang value as your language short form.

Your installation of Edmo is complete!

Please don’t forget to change the administrator password.

Was this article helpful to you? Yes No

How can we help?