Update README.md
This commit is contained in:
parent
36413164e0
commit
bfb033fe69
29
README.md
29
README.md
@ -2,25 +2,28 @@ HTML minify
|
|||||||
=============================
|
=============================
|
||||||
Enables Smarty 'trimwhitespace' Outputfilter to minify HTML Code
|
Enables Smarty 'trimwhitespace' Outputfilter to minify HTML Code
|
||||||
|
|
||||||
Installation
|
Download
|
||||||
------------
|
------------
|
||||||
|
|
||||||
1. Download
|
There are several ways to download the module:
|
||||||
* [download zip](https://github.com/alfredbez/ab_htmlmin/archive/master.zip) and extract zip
|
### Download ZIP
|
||||||
* OR
|
[download](https://github.com/alfredbez/ab_htmlmin/archive/master.zip) and extract zip
|
||||||
* 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
|
|
||||||
|
|
||||||
### Install via composer
|
### Download using git clone
|
||||||
download composer https://getcomposer.org/download/
|
```git clone https://github.com/alfredbez/ab_htmlmin.git```
|
||||||
|
|
||||||
1. use oxid with composer: ```git clone https://github.com/robinlehrmann/oxideshop_ce.git```
|
If you downloaded the module manually or via git:
|
||||||
2. add the module to your composer.json
|
* 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```
|
* via command line ```composer.phar require alfredbez/ab_htmlmin dev-master```
|
||||||
* OR
|
* OR
|
||||||
* manually
|
* manually
|
||||||
````
|
```
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"alfredbez/ab_htmlmin": "dev-master"
|
"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:
|
After uploading the module, your directory should look like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user