[Solo](https://solo.b3log.org)is a small and beautiful open source blog system, designed for programmers. Solo has a very active [community](https://hacpai.com), which can push articles as posts to the community, and replies from the community will be linked as blog comments (for details, please visit [B3log Ideas - Distributed Community Network](https://hacpai.com/article/1546941897596)).
> 这是一种全新的网络社区体验,让热爱记录和分享的你不再感到孤单!
> This is a brand new online community experience, so that you who love recording and sharing no longer feel lonely!
Local operation is mainly used for trial or static site generation, please refer to [here](https://hacpai.com/article/1579053576274) for usage of static site generation.
[下载](https://github.com/88250/solo/releases)最新的 Solo 包解压,进入解压目录执行:
[Download](https://github.com/88250/solo/releases) and unzip the latest Solo package, enter the decompression directory and execute:
If you have a Java development environment, you can refer to [here](https://hacpai.com/article/1493822943172) to build and run through the source code.
本地运行
### Docker 部署
### Docker
Docker 方式部署是动态博客用法,主要用于在服务器上部署动态博客。
Docker deployment is a dynamic blog usage, mainly used to deploy dynamic blogs on the server.
First create database schema manually (schema name `solo`, character set use` utf8mb4`, sorting rule `utf8mb4_general_ci`), and then start the container:
By default, logs are printed to the standard output stream through log4j2, which can be viewed through `docker logs solo`. If you need to override the log4j configuration, you can mount the file to achieve:
```shell
```shell
--volume ~/log4j2.xml:/opt/solo/log4j2.xml
--volume ~/log4j2.xml:/opt/solo/log4j2.xml
```
```
#### 皮肤配置
#### Skin configuration
如果要使用其他皮肤,可以挂载目录 skins(里面需要包含所需使用的所有皮肤):
If you want to use other skins, you can mount the directory skins (it needs to contain all the skins you want to use):
You can refer to [here](https://github.com/88250/solo/blob/master/scripts/docker-restart.sh) to write a restart script and run it through crontab every morning to achieve automatic update.