Overview

This is the quick cheat-sheet notes for setting up the Moola Amazon Edition codebase for development.

Steps

Install Joomla

Install Joomla, preferably in a ./public_html/joomla directory

Setup Moola Amazon Source

Clone the repository for Moola Amazon Edition into a directory that is a sibling of the joomla directory, i.e. ./public_html/moola-amazon

Install The Plugin For Joomla

First make the file:

cd ./public_html/moola-amazon/distribution
make

Now create a local installer in a new folder:

cd ./public_html/
mkdir moola-amazon-installer
cd moola-amazon-installer
unzip ../moola-amazon/distribution/moola-amazon.zip

Now prepare the permissions on the Joomla directories:

chmod 777 ./joomla/components 
chmod 777 ./joomla/modules
chmod 777 ./joomla/administrator/components

Now Go Install The Plugin

This will update the database entries in Joomla.

  • Login to Joomla 1.7+ as administrator.
  • Go to Extensions/Extension Manager
  • Enter the fully qualified path to your ./moola-amazon-installer/ directory.
  • Click install.

Symlink The Source To The Install

Create the following symlinks in the ./public_html/joomla subdirectories:

 1 cd ./modules
 2 mv mod_moola_ae_cart backup_mod_moola_ae_cart
 3 mv mod_moola_ae_related backup_mod_moola_ae_related
 4 ln -s ../../moola-amazon/mod_moola_ae_cart/site/ mod_moola_ae_cart
 5 ln -s ../../moola-amazon/mod_moola_ae_related/site/ mod_moola_ae_related
 6 
 7 cd ../components
 8 mv com_moolaamazonedition backup_com_moolaamazonedition
 9 ln -s ../../moola-amazon/com_moolaamazonedition/site/ ./com_moolaamazonedition
10 
11 cd ../administrator/components
12 mv com_moolaamazonedition backup_com_moolaamazonedition
13 ln -s ../../../moola-amazon/com_moolaamazonedition/admin/ com_moolaamazonedition