Book Image

Mahara 1.2 E-Portfolios: Beginner's Guide

Book Image

Mahara 1.2 E-Portfolios: Beginner's Guide

Overview of this book

Mahara is a user-centred environment with a permissions framework that enables different views of an e-portfolio to be easily managed. These views helps you display your artefacts – text files, spreadsheets, images, and videos – in a way you choose and to the people you want. You can also create online communities and social networks through groups, blogs, and forums.Being a novice, you will need a quick and easy implementation guide to set up your feature-rich digital portfolio.This book is your 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.This book will introduce to the exciting features of Mahara framework and help you develop a feature-rich e-portfolio for yourself. You will see how easily you can create folders, upload multiple files like journals, project documents, pictures, and videos and share them with your friends. You will learn to set up views of these files, making these visible to your chosen friends only. And then, you will allow people to give their inputs.You will learn to create blogs and forums and get connected to the rest of the world. Customization and administration of your Mahara site will become 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.
Table of Contents (15 chapters)
Mahara 1.2 ePortfolios
Credits
About the Authors
About the Reviewers
Preface

Time for action - setting up the data directory


  1. 1. Create the data directory in the public folder of your home directory. We will create the directory using the mkdir command and call it uploaddir:

mkdir uploaddir

Note

It doesn't really matter what you decide to call your dataroot directory, but try to choose a name that is relevant to what the directory is doing. The name suggested by Mahara and the most commonly used name is uploaddir, but other names such as maharadata would be just as good.

  1. 2. Set the permissions on this folder using the chmod command:

chmod -R 0777 uploaddir

  1. 3. Change the user of the new directory to be the same as your server using the chown command. The user is usually apache or www-data:

    chown -R www-data:www-data uploaddir
    
    
  2. 4. And that's all there is to it, we now have a place where Mahara can put all of the stuff belonging to our users.

What just happened?

What we have just done is really very simple, so hopefully you aren't feeling bogged down with all those commands you had to type.

We created our data directory and made sure that it was in a safe place in your home directory above the htdocs directory. Then we changed the permissions, users, and groups for the directory to make it easy for Mahara to put things in and to delete things.

Let's take a quick look at the file structure that we have just created for our Mahara installation:

So far we have downloaded and put the Mahara files into place on our server and seen how to create the database and dataroot needed to store all the Mahara information.

Now, we 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 we use an important file called config.php.