Skip to content

Commit

Permalink
fix installation guide of user manual.
Browse files Browse the repository at this point in the history
  • Loading branch information
canvaskent committed Dec 21, 2021
1 parent fdd035a commit 32fa456
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"

[[menu.main]]
name = "Download"
weight = 50
url = "https://github.com/WeeShop/WeeShop/releases"
pre = "<i class='fab fa-github'></i>"
post = "<span class='alert'>New!</span>"

[services]
[services.googleAnalytics]
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
Expand Down
4 changes: 3 additions & 1 deletion content/zh/docs/manual/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ title: 用户指南
weight: 20
---

用户指南。
本章内容将指引用户如何使用 WeeShop 的系统功能,包括系统管理员如何安装本系统,
安装完成后管理员如何通过 Web 后台管理系统销售的产品和订单,
以及顾客如何通过浏览器客户端购买系统所销售的产品。
7 changes: 4 additions & 3 deletions content/zh/docs/manual/install.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: 安装
weight: 10
---

> 本文介绍非开发者用户如何安装 WeeShop,如果你是开发者请 [使用 Composer 进行工程创建](../dev_guide/project.html)
> 本文介绍非开发者用户如何安装 WeeShop,如果你是开发者请 [使用 Composer 进行工程创建]({{< ref "/docs/develop/project" >}} "使用 Composer 进行工程创建")
## 下载

Expand All @@ -19,7 +20,7 @@ WeeShop 自带 Docker 镜像,如果会使用 Docker,安装将会非常方便
docker-compose up -d
```

运行命令后,通过访问 `http://localhost:8080` 即可打开 WeeShop 的图形安装界面,按提示输入必要信息安装即可。
运行命令后,通过访问 `http://localhost:8081` 即可打开 WeeShop 的图形安装界面,按提示输入必要信息安装即可。
需要注意的是,数据库的设置:

- 主机: db
Expand Down Expand Up @@ -113,7 +114,7 @@ Zend OPcache
```


## 执行安装
#### 执行安装

- 解压源码包,把 web 目录设置为 apache 站点根目录。
- 确保 apache 进程对 `web/sites/default` 目录拥有可写权限,其他目录权需可读权限即可。
Expand Down

0 comments on commit 32fa456

Please sign in to comment.