Skip to content

Commit

Permalink
Fixes colinmollenhour#129 - Replaces git submodules with Composer dep…
Browse files Browse the repository at this point in the history
…endencies
  • Loading branch information
Kirk committed Oct 10, 2017
1 parent 474deeb commit 032e4d1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

12 changes: 8 additions & 4 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ Be aware that if the `<max_lifetime>` setting is below your Cookie Lifetime, the

## Installation ##

1. Install module using [modman](https://github.com/colinmollenhour/modman):

modman clone https://github.com/colinmollenhour/Cm_RedisSession

1. Install module using [composer](https://getcomposer.org/) with the
[magento-composer-installer](https://github.com/Cotya/magento-composer-installer) plugin:

composer require magento-hackathon/magento-composer-installer; # If not already installed
composer require colinmollenhour/magento-redis-session;
2. Remove lib/Credis from your Magento installation. This module includes a newer version of the
Credis library and, due to the Magento 1 autoloader works, the version that ships with core
Magento must be removed.
2. Configure via app/etc/local.xml adding a `global/redis_session` section with the appropriate configuration if needed.
See the "Configuration Example" below.
3. Refresh the config cache to allow the module to be installed by Magento.
Expand Down
1 change: 0 additions & 1 deletion code/lib
Submodule lib deleted from b69bde
3 changes: 2 additions & 1 deletion composer.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
}
],
"require": {
"colinmollenhour/php-redis-session-abstract": "~1.3.5"
"colinmollenhour/php-redis-session-abstract": "~1.3.5",
"colinmollenhour/credis": "^1.9.1"
},
"suggest":{
"magento-hackathon/magento-composer-installer":"Makes it possible to manage this package as a dependency"
Expand Down
1 change: 0 additions & 1 deletion credis
Submodule credis deleted from 049ccf
1 change: 0 additions & 1 deletion modman
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Cm_RedisSession
code app/code/local/Cm/RedisSession
Cm_RedisSession.xml app/etc/modules/Cm_RedisSession_Local.xml
credis app/code/local/Credis

0 comments on commit 032e4d1

Please sign in to comment.