psvneo / sw6-project-skeleton
6.4
2021-08-25 09:23 UTC
Requires
- php: ^7.4.3 || ^8.0
- composer-runtime-api: ^2.0
- shopware/administration: ~v6.4.0
- shopware/core: ~v6.4.0
- shopware/elasticsearch: ~v6.4.0
- shopware/recovery: ~v6.4.0
- shopware/storefront: ~v6.4.0
Requires (Dev)
- ext-openssl: *
- ext-tokenizer: *
- ext-xmlwriter: *
- bheller/images-generator: ~1.0.1
- defuse/php-encryption: ~2.2.1
- dms/phpunit-arraysubset-asserts: ^0.2.1
- fzaninotto/faker: ~1.9.1
- johnkary/phpunit-speedtrap: ~3.3.0
- league/flysystem-memory: ~1.0.2
- mbezhanov/faker-provider-collection: ~1.2.1
- nikic/php-parser: ~4.10.4
- opis/json-schema: ~1.0.19
- phpunit/php-code-coverage: ~9.2.5
- phpunit/phpunit: ~9.5.2
- smalot/pdfparser: ~0.14.0
- symfony/browser-kit: ~4.4 || ~5.2.3 || ~5.3.0
- symfony/dependency-injection: ~4.4 || ~5.2.3 || ~5.3.0
- symfony/dom-crawler: ~4.4 || ~5.2.3 || ~5.3.0
- symfony/phpunit-bridge: ~4.4 || ~5.2.3 || ~5.3.0
- symfony/stopwatch: ~4.4 || ~5.2.3 || ~5.3.0
- symfony/var-dumper: ~4.4 || ~5.2.3 || ~5.3.0
- symfony/web-profiler-bundle: ~4.4 || ~5.2.3 || ~5.3.0
This package is auto-updated.
Last update: 2024-09-25 16:35:16 UTC
README
此仓库是 shopware 原始 composer 项目的分支(Fork of https://github.com/shopware/production)
安装方法(Web)
- 运行
git clone https://git.riconnect.de/riconet-public/shopware/sw6-project-skeleton MyProjectName
来克隆此仓库。 - 删除
.git
目录(rm -rf .git
)。 - 运行
docker-compose up -d
并等待 15 秒。 - 运行
docker-compose exec shopware /bin/bash -c "composer install"
来构建后端。 - 运行
docker-compose exec shopware /bin/bash -c "chown -R www-data:www-data ."
来构建后端。 - 运行
docker-compose exec shopware /bin/bash -c "chmod -R g+rw ."
来构建后端。 - 打开
https://
来启动 Web 安装。
输入 | 值 |
---|---|
服务器 | 数据库 |
用户 | root |
密码 | 1234 |
名称 | shopware |
- 安装完成后,运行
docker-compose exec shopware /bin/bash -c "bin/build-administration.sh"
来构建管理界面。
安装方法(命令行)
bin/docker-init.sh
现在您可以访问您的商店
构建以解决依赖项
bin/docker-build.sh
数据库凭据
名称 | 值 |
---|---|
数据库 | shopware |
用户名 | app |
密码 | 1234 |
主机 | 数据库 |
端口 | 3306 |
商店 URL
URL | |
---|---|
管理界面 | https:///admin |
商店前端 | https:// |
默认管理用户凭据(命令行安装)
值 | |
---|---|
用户名 | admin |
密码 | shopware |
构建/重建
bin/docker-build.sh
编译主题/清除缓存
bin/docker-clear-cache.sh
进入 shopware 容器
运行 docker-compose exec shopware bash
使用 Mailhog 捕获邮件
Mailhog 通过以下 URL 可达:https://:8025
使用 Adminer 管理数据库
Adminer 通过以下 URL 可达:https://:8080