https://github.com/oxid-esales/developer-tools
Developer tools for OXID eShop
https://github.com/oxid-esales/developer-tools
Last synced: about 1 year ago
JSON representation
Developer tools for OXID eShop
- Host: GitHub
- URL: https://github.com/oxid-esales/developer-tools
- Owner: OXID-eSales
- License: other
- Created: 2019-10-17T14:10:07.000Z (over 6 years ago)
- Default Branch: b-8.0.x
- Last Pushed: 2024-03-15T13:54:26.000Z (over 2 years ago)
- Last Synced: 2024-03-16T14:54:32.996Z (over 2 years ago)
- Language: PHP
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-3.x.md
- License: LICENSE
Awesome Lists containing this project
README
# Developer Tools component
This component contains additional developer tools for OXID eShop.
__ATTENTION:__ this component was designed for development purposes and its usage may lead to data loss in your system.
__Never execute developer tool commands in any live environment!__
## Installation
Run the following command to install the component:
```bash
composer require oxid-esales/developer-tools
```
## Usage
### Resetting project configuration
To reset project configuration to its initial state execute:
```bash
bin/oe-console oe:module:reset-configurations
```
### Resetting/installing shop database
To reset the database to its initial state run the following command:
```bash
bin/oe-console oe:database:reset [--force]
```
_When executed, this command will use the actual database settings, active in your current system environment._
## How to install component for development?
Checkout component besides OXID eShop `source` directory:
```bash
git clone https://github.com/OXID-eSales/developer-tools.git
```
Run composer install command:
```bash
cd developer-tools
composer install
```
Add dependency to OXID eShop `composer.json` file:
```bash
composer config repositories.oxid-esales/developer-tools path developer-tools
composer require --dev oxid-esales/developer-tools:*
```
## How to run tests?
To run tests for the component please define OXID eShop bootstrap file:
```bash
vendor/bin/phpunit --bootstrap=../source/bootstrap.php tests/
```
## License
See [LICENSE](LICENSE) file for license details.