Theme Installation & Setup

Follow these steps to successfully install the Edoo demo content on your Moodle site.

๐Ÿ”น Step 1: Create a Database

  1. Log in to phpMyAdmin
  2. Create a new database

๐Ÿ”น Step 2: Import Demo SQL File

  1. Open your newly created database in phpMyAdmin.
  2. Click on Import.
  3. Choose and import the Edoo.sql file from the demo package.

๐Ÿ”น Step 3: Upload Files

  1. Inside the unzipped demo folder, open the links.txt file to get the download link for demo_files.zip.
  2. Download demo_files.zip.
  3. Upload and extract it on your web server (e.g., inside var/www/htdocs/ or your domain root).

โœ… Alternative Method:
Use an FTP client like FileZilla to upload the extracted demo_files folder to your web server.

  1. Then upload the following:
    • Edoo.zip (theme file) โ†’ into: /demo_files/theme/
    • blocks.zip (all blocks) โ†’ into: /demo_files/blocks/

๐Ÿ”น Step 4: Upload Moodle Data Files

  1. Open the links.txt file to find the download link for moodledata.zip.
  2. Download moodledata.zip.
  3. Upload and extract it outside your webroot (e.g., /var/www/moodledata/).

โ„น๏ธ Important: Ensure the moodledata directory has read and write permissions.
Refer to Moodle.org for more on file permissions.


๐Ÿ”น Step 5: Configure config.php

  1. Open the config.php file located in your Moodle root directory.
  2. Update the following:
    • $CFG->dbuser, $CFG->dbpass, $CFG->dbname โ€“ set your DB credentials.
    • $CFG->dbhost โ€“ usually localhost or 127.0.0.1.
    • $CFG->wwwroot โ€“ use your actual site URL.
    • $CFG->dataroot โ€“ path to your moodledata directory.
    • $CFG->directorypermissions โ€“ typically 0777 or 0755.

๐Ÿ”น Step 6: Log In

  1. Visit: {your-site-url}/login/index.php
  2. Use the following admin credentials:
Username: edoo  
Password: EdooPass1@

๐Ÿ”น Step 7: Search & Replace Old URLs

  1. Go to: {your-site-url}/admin/tool/replace/
  2. Enter the old URL (based on the original setup):

http://localhost:8888/moodle/edoo-4.5/
https://edoo.ddev.site/ย (Moodle 5.0+)

  1. Replace it with your current site URL, e.g.:
https://yourdomain.com/
  1. Click Submit to complete the URL update.

๐Ÿ”น Step 8: Purge Moodle Cache

  1. Visit: {your-site-url}/admin/purgecaches.php
  2. Click โ€˜Purge all cachesโ€™

โณ This may take a few minutes. Be patient.


๐Ÿ”’ Final Step: Change Admin Password

For security reasons, please change the administrator password after your first login.