widewebpro/craftcms-4

此软件包最新版本(1.0.0)没有可用的许可信息。

基于 Wideweb 的基础项目,具有简单的 Docker 设置

1.0.0 2022-09-06 08:49 UTC

This package is auto-updated.

Last update: 2024-09-05 12:31:08 UTC


README

准备您的环境

Docker

  • Docker
  • 如果您在本地机器上使用 MySQL,请停止它
  • 如果您在本地机器上使用 nginx,请停止它

安装

  • 创建项目 composer create-project widewebpro/craftcms-4 <directory> --no-install
  • 进入您的新项目文件夹 cd <directory>
  • 运行 docker-compose up。这是一个简单的 Docker 设置,因此将只构建和启动 nginx 和 mariadb 容器。
  • 使用 docker-compose.yml 中的凭据 - 连接到 mariadb 容器并导入数据库
  • 运行 yarn install
  • 运行 yarn run dev