Book Image

Mahara ePortfolios: Beginner's Guide

Book Image

Mahara ePortfolios: Beginner's Guide

Overview of this book

Mahara ePortfolios helps you to use software as you follow an experiential learning cycle. In Mahara you can: Plan your learning. Do what you do and gather evidence of your competence as you do those things. View and organize your work by structuring your data in easy-to-make (web)pages and (mini-website) collections of those pages. Reflect on your learning by use of professional journals, engaging feedback on your pages and establishing and engaging in online communities who share a similar interest. Mahara ePortfolios: Beginner's Guide is a step-by-step guide to develop a feature-rich and highly personal electronic portfolio. Form a digital repository of reflective journals, action learning plans, presentations, reports, images and videos. Easily share this with your friends, family, tutors, students, project team and others using this step-by-step guide written in a clear and easy to learn manner.This book guides you to build an impressive e-Portfolio and to work in professional communities of interest within a Mahara walled garden. It brings to life the key features of Mahara which will help thoughtful people to display their artefacts coherently and to engage with like-minded peers professionally.This book introduces you to exciting features of Mahara framework and helps you develop a feature-rich e-portfolio for yourself. You will see how easily you can create folders, upload multiple files like project documents, pictures and videos and share them with your friends. You will learn to set up single pages and collections of pages which organize these files, making these visible only to your own chosen peers, supervisors or friends. Then, you will allow people to give their inputs.You will learn to create journals, learning plans, your professional resume, group spaces and forums which help you get connected to the rest of the world. Customization and administration of your Mahara site will be easy after you have gone through this book. Imagine how good you will feel when you will see your knowledge, success, and ideas going live and available to your chosen audiences for their inputs.Mahara ePortfolios: Beginner's Guide is a step-by-step guide to building an impressive professional e-portfolio using Mahara. It covers the key features of Mahara that will help you set up your customized digital portfolio and display the artefacts in your preferred way allowing contribution from selected users only.
Table of Contents (16 chapters)
Mahara ePortfolios Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Time for action — creating the config.php file


Now, you have to hold Mahara's hand by letting it know how it can access the database and how to find the dataroot. To do this, you use an important file called config.php:

  1. 1. In the htdocs folder of your Mahara site, you will find a file called config-dist.php. Use the nano command in your terminal to start editing the config-dist.php file:

    nano config-dist.php
    
    

    Note

    Other Linux people use much more sophisticated text editors such as Vim (http://www.vim.org/) and emacs (http://www.gnu.org/software/emacs/). We are simple folk and are perfectly happy with nano — http://www.nano-editor.org/.

  2. 2. Now, you will see the file open on the command line. Use the down arrow key on your keyboard to scroll down the page until you get to a section called database connection details. In the following example, the user is using MySQL5 rather than postgreSQL. Fill in the information so that it matches the details you used to set up your own database including your own database name (dbname), database user (dbuser), and database password (dbpass):

  3. 3. Next, continue scrolling down the file until you reach a line that starts with $cfg->dataroot. Here, you must fill in the full path from the server root directory to the data directory that you created earlier in this chapter.

  4. 4. Now, have a look further down the file, you should see an option to add an e-mail contact. This e-mail address gets displayed if a form is suspected of being spam as a place of contact for those who stumble upon this. Fill in a relevant e-mail address.

  5. 5. Finally, you should add a password salt to your config file. This is a text string that helps to make user authentication more secure. Add a line similar to the following, but containing your own secret phrase:

    $cfg->passwordsaltmain= 'your secret phrase here';
    
    
  6. 6. Congratulations, you've now finished editing the configuration file. Save it by pressing Ctrl + X on your keyboard (still within the nano editor). When asked, if you would like to rename the file, type Y for yes and name the file config.php. This will also save the file.

What just happened?

What you just did was very important. You let Mahara know where the database is and the user and password needed to access it. You also let it know the location of the dataroot directory as well as set a password salt.