{"id":27078998,"url":"https://github.com/netlogix/nlxlanguageshopsessionsyncshopware","last_synced_at":"2025-04-06T01:20:25.245Z","repository":{"id":51183507,"uuid":"368429875","full_name":"netlogix/nlxLanguageShopSessionSyncShopware","owner":"netlogix","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-01T07:46:53.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-17T16:35:26.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netlogix.png","metadata":{"files":{"readme":"README.TESTING.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-18T06:52:32.000Z","updated_at":"2021-05-20T14:38:49.000Z","dependencies_parsed_at":"2022-09-03T22:22:34.111Z","dependency_job_id":null,"html_url":"https://github.com/netlogix/nlxLanguageShopSessionSyncShopware","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FnlxLanguageShopSessionSyncShopware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FnlxLanguageShopSessionSyncShopware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FnlxLanguageShopSessionSyncShopware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FnlxLanguageShopSessionSyncShopware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netlogix","download_url":"https://codeload.github.com/netlogix/nlxLanguageShopSessionSyncShopware/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247421105,"owners_count":20936231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-06T01:20:24.746Z","updated_at":"2025-04-06T01:20:25.236Z","avatar_url":"https://github.com/netlogix.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker based Shopware Testing Environment\n=========================================\n\nFor easier testing with different shopware- and/or php-versions we use a docker based environment.\nThere are some docker containers providing MySQL, PHP and so on.\nThe local filesystem is mapped into the containers that need them.\n\n**NOTE on this README**\nThis file assumes that bin-scripts are installed to ```vendor/bin``` (as composer does by default).\nIf your changed this behaviour in your ```composer.json```\nyou have to adjust the commands written in this file accordingly.\n\nInstallation\n------------\n\nTo use the testing environment in a project,\nadd the following dependency to your project's composer.json's require-dev section:\n\n    \"require-dev\": {\n        \"solutiondrive/sd-test-environment-shopware\": \"*\"\n    }\n\nThen do a `composer update` or use `composer require --dev` instead. \n\nTo initialize the testing environment simply run the following:\n\n    vendor/bin/sdTest.sh init\n\nThis will create some files:\n\n    /README.TESTING.md              # This README.md in your project for other developers\n    /etc/test/docker-compose.yml    # A docker-compose file which can be modified for special needs\n\nUsage / First steps\n-------------------\n\nFirst you should start the testing docker containers (see also next section of this README):\n\n    vendor/bin/sdTest.sh start\n    \n    \nHandle plugin\n-------------\n\nFor all following commands you must pass a php version, e.g. 71 for PHP 7.1 container:\n\nFor adding the plugin run:\n\n    vendor/bin/sdPlugin.sh 71 add\n    \nFor removing the plugin run:\n\n    vendor/bin/sdPlugin.sh 71 remove\n    \nFor activating the plugin run:\n\n    vendor/bin/sdPlugin.sh 71 activate    \n    \nFor deactivating the plugin run:\n\n    vendor/bin/sdPlugin.sh 71 deactivate\n\n\nControlling the testing environment\n-----------------------------------\n\nTo start the containers and get back your local shell just run:\n\n    vendor/bin/sdTest.sh start\n    \nTo stop the containers run:\n\n    vendor/bin/sdTest.sh stop\n\nIn stopped state the containers data is saved.\n\nTo destroy your containers you can run:\n\n    vendor/bin/sdTest.sh remove\n\nTo restart your containers without loosing data you can run:\n\n    vendor/bin/sdTest.sh restart\n\n\nCan can also run the containers in foreground to monitor the log output of the containers:\n\n    vendor/bin/sdTest.sh run\n\nThen you can stop the execution by pressing CTRL+C. The containers will exit cleanly.\n\n\nIf you started the container in background using ```start```, you can view the logs by running:\n\n    vendor/bin/sdTest.sh logs\n\nYou can follow the logs (as known from ```tail -f``` or ```tailf```):\n\n    vendor/bin/sdTest.sh logs -f\n\nTo connect to the mysql server use ```127.0.0.1``` as host with port (default: 10331) configured in ```etc/test/docker-compose.yml```.\n\n\nLess frequently needed\n----------------------\n\nTo force a rebuild of the containers you can run:\n\n    vendor/bin/sdTest.sh build --no-cache\n\nTo be sure that you have the latest version of the (base) containers you can force pulling newer images:\n    \n    vendor/bin/sdTest.sh build --no-cache --pull\n\nTo be sure to use the newest containers (not only build based containers):\n\n    vendor/bin/sdTest.sh pull\n\nTo destroy and restart your containers in one step without rebuilding images run:\n\n    vendor/bin/sdTest.sh reset\n\nExecuting a command in the testing environment\n----------------------------------------------\n\nCommands (for example to clear the cache or to run the setup) can be executed inside the container.\nYou must give a version to execute command on, e.g. 71 for PHP 7.1 container:\n\n    vendor/bin/runInSdTest.sh 71 ./app/install.sh\n\nIf you want to you can even get a shell inside the PHP container:\n\n    vendor/bin/runInSdTest.sh 71 /bin/bash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlogix%2Fnlxlanguageshopsessionsyncshopware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetlogix%2Fnlxlanguageshopsessionsyncshopware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlogix%2Fnlxlanguageshopsessionsyncshopware/lists"}