45 lines
767 B
Markdown
45 lines
767 B
Markdown
---
|
||
title: 维护与开发手册
|
||
createTime: 2025/03/13 15:47:08
|
||
permalink: /public-service/overleaf/maintenance-dev-books/
|
||
icon: fluent:window-dev-edit-20-regular
|
||
---
|
||
|
||
> 本文是面向Overleaf LaTeX协作平台的维护与开发手册,管理员和有志于自行运营Overleaf的开发者可以参考本文。
|
||
|
||
## 导入Overleaf Tookit
|
||
|
||
### git克隆Overleaf Tookit (CE)
|
||
|
||
```shell
|
||
git clone https://github.com/overleaf/toolkit.git ./overleaf-toolkit
|
||
```
|
||
|
||
```shell
|
||
cd overleaf-toolkit
|
||
```
|
||
|
||
初始化项目
|
||
|
||
```shell
|
||
bin init
|
||
```
|
||
|
||
初次启动容器,包含mongodb、redis、sharelatex
|
||
```shell
|
||
bin/up
|
||
```
|
||
|
||
:::tip docker拉取失败解决方案
|
||
|
||
- 配置daemon.json文件
|
||
|
||
参考
|
||
|
||
|
||
```shell
|
||
{
|
||
"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
|
||
}
|
||
```
|
||
::: |