User:Gerard Caulfield/Fast Moodle git setup

Jump to: navigation, search

This setup allows you to have multiple working directories while having them all linked and using the same repository which I believe is perfect for Moodle development where you sometimes want to view several versions of moodle at the same time but managing all those instances seperatly is an unnecessary hassle.

First create all the necessary directories:

# Data directories
mkdir ~/data/

# Code directories
mkdir ~/src/

# The seed directory
mkdir ~/src/moodle/.seed/

Create a symbolic link in your web root so you can access all of these directories via http://localhost/moodle/ (or whatever location you prefer)

sudo ln -s ~/src/moodle /var/www/moodle