Skip to content

Commit

Permalink
no-task
Browse files Browse the repository at this point in the history
  • Loading branch information
nxsschoenfeld committed Mar 4, 2024
1 parent 51d86ad commit 224fe3c
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,5 @@
# Install
`composer require valantic-spryker-shop/modal-window`

# HowTos Cli

PHP Container: `docker run -it --rm --name my-running-script -v "$PWD":/data spryker/php:latest bash`

Run Tests: `vendor/bin/codecept run --env standalone`

Fixer: `vendor/bin/phpcbf --standard=phpcs.xml --report=full src/ValanticSpryker/`

Disable opcache: `mv /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini /usr/local/etc/php/conf.d/docker-php-ext-opcache.iniold`

XDEBUG:
- `ip addr | grep '192.'`
- `$docker-php-ext-enable xdebug`
- configure phpstorm (add 127.0.0.1 phpstorm server with name valantic)
- `$PHP_IDE_CONFIG=serverName=valantic php -dxdebug.mode=debug -dxdebug.client_host=192.168.87.39 -dxdebug.start_with_request=yes ./vendor/bin/codecept run --env standalone`

- Run Tests with coverage: `XDEBUG_MODE=coverage vendor/bin/codecept run --env standalone --coverage --coverage-xml --coverage-html`

# HowTo Setup new Repo
- create new project (https://github.com/organizations/valantic-CEC-Deutschland-GmbH/repositories/new)
- visibility -> public
- push in repo boilerplate copied of example-package (https://github.com/valantic-CEC-Deutschland-GmbH/spryker-vendor-template)
- search for string `example-package` and add your descriptions
- add your custom code / copy in your code / rename namespace to ValanticSpryker
- add repo "topics" spryker / spryker-eco / spryker-shop based on your modules

# use nodejs
- docker run -it --rm --name my-running-script -v "$PWD":/data node:18 bash
# HowTo
- ensure your frontend/settings.js contains vendor path to vendor/valantic/

0 comments on commit 224fe3c

Please sign in to comment.