Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
b2d645f4
Unverified
Commit
b2d645f4
authored
Mar 19, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
#12718
parent
9f4d7f6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
README.md
README.md
+25
-2
src/main/resources/docker/entrypoint.sh
src/main/resources/docker/entrypoint.sh
+0
-1
No files found.
README.md
View file @
b2d645f4
...
...
@@ -74,14 +74,37 @@
## 安装
### 本地试用
[
下载
](
https://github.com/b3log/solo/releases
)
最新的 Solo 包解压,进入解压目录执行:
*
Windows:
`java -cp "WEB-INF/lib/*;WEB-INF/classes" org.b3log.solo.Starter`
*
Unix-like:
`java -cp "WEB-INF/lib/*:WEB-INF/classes" org.b3log.solo.Starter`
用
`Docker`
运行?
如果你有 Java 开发环境,可参考
[
这里(https://hacpai.com/article/1493822943172)通过源码构建运行。
**请注意**
:我们不推荐通过发布包部署或者源码源码构建部署,因为这样的部署方式在将来有新版本发布时升级会比较麻烦。
这两种方式请仅用于本地试用,线上生产环境我们
**强烈建议**
通过 Docker 进行部署。
### Docker
获取最新镜像:
```
shell
docker pull b3log/solo
```
*
使用 MySQL
TBD
```
shell
docker run
--name
solo
-p
8080:8080
--net
=
host
-d
b3log/solo
```
*
使用 H2 Databse
```
shell
docker run
--name
solo
-p
8080:8080
-v
~/solo_h2:/opt/b3log/backup/
-d
b3log/solo
```
`docker volume create solo_datas && docker run --privileged --name solo --restart=unless-stopped -p 8080:8080 -v solo_datas:/opt/b3log/backup/ -d b3log/solo`
## 文档
...
...
src/main/resources/docker/entrypoint.sh
View file @
b2d645f4
...
...
@@ -17,7 +17,6 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
## author: tomaer.Ma <i@tomaer.com>
DATEBASE_TYPE
=
${
DATEBASE_TYPE
:-
h2
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment