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

Demo Installation

This doc will show you how to install eDash 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 edash.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 edash.zip theme file on demo_files/theme

Upload blocks.zip all files on demo_files/blocks

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/edash-4.0)
  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 eDash demo installation is completed, you can now log in to your new eDash website with the following administrator credentials.

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

USERNAME: edash
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/edash-4.0/

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.

Please don’t forget to change the administrator password.

Was this article helpful to you? Yes No

How can we help?