Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s committed Jan 15, 2025
1 parent 57ee1a4 commit 4c65882
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
18 changes: 18 additions & 0 deletions docs/zh/faq/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# 常见问题

---

## 安装成功后报错 `DNS Lookup resolve failed`

检查 `.env` 文件中的 `mysql` `redis` 是否正确,能否正常连接

---

## 购买的插件无法使用

如果是付费插件请在QQ群或微信群联系管理员,提供订单号,管理员会拉你进对应的插件售后群

---



## 如何从 Swoole 切换到 Swow

::: warning
Expand All @@ -12,3 +28,5 @@ Swow 安装请参考 [Swow 官方文档](https://docs.toast.run/swow-blog/chs/in
2. copy 项目目录下的 `.github/ci/hyperf.php` 覆盖 `bin/hyperf.php`

重新启动即可

---
25 changes: 7 additions & 18 deletions docs/zh/guide/start/fast-install.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# 快速开始

`3.0` 版本起,前后端都放在了一个仓库,所以我们推荐先安装后端。前端源代码将随着后端
`web` 目录一起下载到本地

## 下载代码

### git
Expand All @@ -15,18 +12,9 @@
git clone https://github.com/mineadmin/MineAdmin.git
```

## 安装系统并启动

在上面章节我们进行了项目的代码下载以及环境搭建的一些说明,接下来讲述一下如何配置系统,并且启动系统

::: warning

不管是哪种方式下载的系统代码,都需要 copy 根目录一份 `.env.example``.env`
并且配置好 env 中关于数据库和 redis 的配置项。才能继续进入下一步操作
下载成功后复制项目目录下的 `.env.example` 文件为 `.env` 文件,并配置好数据库和 redis 的配置项

:::

## 后端安装
## 后端环境安装

### Composer

Expand All @@ -36,15 +24,16 @@ git clone https://github.com/mineadmin/MineAdmin.git

如果选择用 docker 开发,那么还需要几步进行环境的进一步搭建

```shell
docker-compose up -d
```

#### Docker-compose (推荐)

MineAdmin 已经准备好了完善的 `docker-compose.yml` 文件,
只需要在项目目录中执行以下命令即可完成环境的搭建


```shell
docker-compose up -d
```

#### Docker Build

如果你想自建容器镜像。那么我们也为你准备好了一个 Dockerfile 文件。您只需要在项目目录执行`打包镜像` `运行容器` 以下命令即可完成环境的搭建
Expand Down

0 comments on commit 4c65882

Please sign in to comment.