Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
Thanks @vanWittlaer I can't run ./psh.phar install or ./bin/setup
This is my front end and backend
An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
I have mysql-server installed on this machine I am runnin Ubuntu 18, I have all the requirements
(4/40) Starting
> mysql -u 'app' -p'app' -h 'mysql' --port='3306' -e "DROP DATABASE IF EXISTS \`shopware\`"
ERROR 2005 (HY000): Unknown MySQL server host 'mysql' (-2)
version: '3.7'
services:
app_server:
image: shopware/development:latest
links:
- app_mysql:mysql
- mailhog:mailhog
extra_hosts:
- "docker.vm:127.0.0.1"
volumes:
- ~/.composer:/.composer
tmpfs:
- /tmp:mode=1777
app_mysql:
build: dev-ops/docker/containers/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: app
MYSQL_PASSWORD: app
cypress:
image: cypress/included:3.8.1
tty: true
ipc: host
links:
- app_server:docker.vm
environment:
- CYPRESS_baseUrl=http://docker.vm:8000
- DISPLAY
volumes:
- ./vendor/shopware/platform/src/Storefront/Resources/app/storefront/test/e2e:/e2e-Storefront
- ./vendor/shopware/platform/src/Administration/Resources/app/administration/test/e2e:/e2e-Administration
# for Cypress to communicate with the X11 server pass this socket file
# in addition to any other mapped volumes
- /tmp/.X11-unix:/tmp/.X11-unix
entrypoint: /bin/bash
mailhog:
image: mailhog/mailhog
adminer:
image: adminer:latest
links:
- app_mysql:mysql
elasticsearch:
image: elastic/elasticsearch:7.1.1
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
recovery/Install/Index.php
of course... Mobile client sucks :see_no_evil:
docker
and docker-compose
commands, see here for example: https://github.com/shopware/development/blob/master/dev-ops/docker/actions/start.sh-d
flag when starting the container you can see the logs (otherwise it might be good to run: docker-compose logs app_mysql
)
Hello all
I want to add new taxt box in product slider is it possible ?
See my screenshot : https://files.gitter.im/nikunjw3nuts/sYwU/image.png
Kann mir jemand sagen, warum ich bei dieser Funktion
$settingRepository = $this->container->get('my_custom.repository');
$settingRepository->create(
[
['data' => $params['data']],
],
\Shopware\Core\Framework\Context::createDefaultContext()
);
Die Fehlermeldung bekomme: General error: 1364 Field 'updated_at' doesn't have a default value
Das Entity, hat die Spalten created_at, updated_at, die standardmäßig so angelegt werden:
`created_at` DATETIME(3) NOT NULL,
`updated_at` DATETIME(3) NOT NULL,