gitea-drone/README.md
2020-03-08 20:29:34 +08:00

30 lines
487 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# drone and gitea
> 需在公网上部署
# 使用
## 管理 Gitea
### 启动 Gitea
```
./run.sh gitea start // or cd gitea && docker-compose up -d
```
### 停止 Gitea
```bash
./run.sh gitea stop // or cd gitea && docker-compose down
```
### 创建 OAuth 应用
> 参考链接, 参考 `Step 1Preparation`部分
[Visit](https://docs.drone.io/server/provider/gitea/)
### Create a Shared Secret
```
openssl rand -hex 16
```
## edit `.env` file
## Run Drone Server
```
```