-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aacfe43
commit e1fef45
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,23 +13,23 @@ _eZ on the Edge_ extension from [Github](https://github.com/KeyteqLabs/ezote) | |
|
||
### Using composer | ||
|
||
composer.phar install keyteqlabs/keymedia-extension --save | ||
`composer.phar install keyteqlabs/keymedia-extension --save` | ||
|
||
### Checkout from github | ||
|
||
git clone [email protected]:KeyteqLabs/keymedia-extension.git /my/ez/extension/keymedia | ||
`git clone [email protected]:KeyteqLabs/keymedia-extension.git /my/ez/extension/keymedia` | ||
|
||
### Navigate to the extension. | ||
|
||
cd /my/ez/extension/keymedia | ||
`cd /my/ez/extension/keymedia` | ||
|
||
### Install sql | ||
|
||
mysql -u username -p -h host databasename < sql/mysql/install.sql | ||
`mysql -u username -p -h host databasename < sql/mysql/install.sql` | ||
|
||
### Regenerate autoloads and clear cache | ||
|
||
php bin/php/ezpgenerateautoloads.php; php bin/php/ezcache.php --clear-all --purge | ||
`php bin/php/ezpgenerateautoloads.php; php bin/php/ezcache.php --clear-all --purge` | ||
|
||
### Connect to KeyMedia | ||
|
||
|
@@ -93,6 +93,18 @@ Size=300x100 | |
Size=500x0 | ||
``` | ||
|
||
## Developing | ||
|
||
Install dev dependencies and run tests: | ||
|
||
``` | ||
composer.phar install | ||
phpunit tests/ | ||
``` | ||
|
||
In order to run all unit tests the repo need to be placed under `ezpublish/extension/keymedia`, | ||
it will then use the underlying ezpublish installation for extending `eZPersistentObject` | ||
|
||
## Usage | ||
|
||
### Lookup on tags | ||
|