Skip to content

Commit

Permalink
docs: remove deploy docs;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Sep 7, 2021
1 parent 77e98db commit 9c8da08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 225 deletions.
12 changes: 2 additions & 10 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,15 @@ module.exports = {
{ text: '主页', link: '/' },
{ text: '开发指南', link: '/guide/', activeMatch: '^/guide/' },
{ text: '运行截图', link: '/screenshots', },
{ text: '部署指南', link: '/deploy/quick', },
// { text: '部署指南', link: '/deploy/quick', },
{
text: 'Changelogs',
link: 'https://github.com/Maslow/laf/blob/main/CHANGELOG.md'
}
],

sidebar: {
'/guide/': getGuideSidebar(),
'/deploy/': getDeploySidebar()
'/guide/': getGuideSidebar()
}
}
}
Expand Down Expand Up @@ -67,11 +66,4 @@ function getGuideSidebar() {
]
},
]
}

function getDeploySidebar() {
return [
{text: '快速部署', link: '/deploy/quick'},
{text: '进阶部署', link: '/deploy/advanced'},
]
}
210 changes: 0 additions & 210 deletions docs/deploy/advanced.md

This file was deleted.

7 changes: 2 additions & 5 deletions docs/deploy/quick.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: 快速部署 Laf 服务
sidebar: false
---

### 快速部署 Laf 服务
Expand Down Expand Up @@ -27,7 +28,7 @@ sudo systemctl start docker

```sh
git clone https://github.com/Maslow/laf.git
cd laf
cd laf/deploy-scripts

# 启动所有服务
docker-compose up
Expand All @@ -52,7 +53,3 @@ docker-compose down -v
# 更新镜像
docker-compose pull
```

### 进阶部署

如果你需要在一台服务器上部署多个 laf 应用,共用一个 MongoDb 服务,请查看[进阶部署文档](./advanced.md)

0 comments on commit 9c8da08

Please sign in to comment.