Skip to content

The primary web application platform for Totsy, running on Magento Enterprise Edition

Notifications You must be signed in to change notification settings

Totsy/Totsy-Magento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6,133 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Totsy Magento

totsy.com

Where the savvy mom shops - Totsy offers moms on-the-go and moms-to-be access to brand-specific sales, up to 90% off retail, just for them and the kids, ages 0-8.

Getting Started

This code base is meant to be merged with the base Magento Enterprise installation. After cloning the repository, the stock Magento Enterprise archive must be extracted on top (without overwriting existing files).

From a directory in which you have permissions to write (i.e. your home directory), clone the Totsy-Magento repository

$ git clone git@github.com:Totsy/Totsy-Magento.git <yourname>.totsy.com/current
$ cd <yourname>.totsy.com/current

Unpack the magento core enterprise files

$ tar xf /usr/share/magento/magento-enterprise-1.11.1.tar.bz2 --strip-components=1 --skip-old-files

Setup the application configuration, and the shared media directory

$ ln -sf /etc/magento/enterprise.xml app/etc/enterprise.xml
$ ln -sf /etc/magento/local.xml app/etc/local.xml
$ ln -sf /srv/share/media/ media
$ ln -sf /etc/magento/litle_SDK_config.ini app/code/community/Litle/LitleSDK/litle_SDK_config.ini

Return to the root where you created the working copy, and move it to the deployment directory

$ cd ../..
$ sudo mv <yourname>.totsy.com /var/www/

Unit Testing

A suite of PHPUnit unit tests is included, and use the EcomDev_PHPUnit Magento module for accomplishing unit testing goals within the Magento framework.

Setup the configuration file required

$ ln -sf /etc/magento/local.xml.phpunit app/etc

Run the unit test suite

$ phpunit UnitTests.php

This will take a few minutes the first time you run the test suite, in order to build the test database (configured in the app/etc/local.xml.phpunit file).

About

The primary web application platform for Totsy, running on Magento Enterprise Edition

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 14

Languages