From bfb033fe696ffdbf090cf89f39865f5ca6dc1878 Mon Sep 17 00:00:00 2001 From: Alfred Bez Date: Thu, 30 Oct 2014 09:44:03 +0100 Subject: [PATCH] Update README.md --- README.md | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6b5b2f7..953fc63 100644 --- a/README.md +++ b/README.md @@ -2,25 +2,28 @@ HTML minify ============================= Enables Smarty 'trimwhitespace' Outputfilter to minify HTML Code -Installation +Download ------------ -1. Download - * [download zip](https://github.com/alfredbez/ab_htmlmin/archive/master.zip) and extract zip - * OR - * download using git clone ```git clone https://github.com/alfredbez/ab_htmlmin.git``` -2. move folder 'ab_htmlmin' to your 'modules'-folder -3. Activate module in the OXID backend +There are several ways to download the module: +### Download ZIP +[download](https://github.com/alfredbez/ab_htmlmin/archive/master.zip) and extract zip -### Install via composer -download composer https://getcomposer.org/download/ +### Download using git clone +```git clone https://github.com/alfredbez/ab_htmlmin.git``` -1. use oxid with composer: ```git clone https://github.com/robinlehrmann/oxideshop_ce.git``` -2. add the module to your composer.json +If you downloaded the module manually or via git: + * rename the folder to 'ab_htmlmin' if the folder name is 'ab_htmlmin-master' + * you have to move the folder 'ab_htmlmin' to your 'modules'-folder. + +### Download via composer +first you need [composer](https://getcomposer.org/download/) + +add the module to your composer.json * via command line ```composer.phar require alfredbez/ab_htmlmin dev-master``` * OR * manually -```` +``` { "require": { "alfredbez/ab_htmlmin": "dev-master" @@ -28,6 +31,8 @@ download composer https://getcomposer.org/download/ } ``` +Don't forget to activate module in the OXID backend + ---- After uploading the module, your directory should look like this: