-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Add sqlite3 driver supported (#383)"
This reverts commit cb79df4.
- Loading branch information
1 parent
2e212e2
commit ee50774
Showing
7 changed files
with
67 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,63 @@ | ||
# 安装手册 | ||
# 前置准备 | ||
```bash | ||
docker 已经安装 | ||
代码 https://github.com/caoyingjunz/pixiu | ||
``` | ||
# 数据库 | ||
```bash | ||
选择1:直接提供可用数据库 | ||
|
||
选择2:快速启动数据库 | ||
docker run -d --net host --restart=always --privileged=true --name mariadb -e MYSQL_ROOT_PASSWORD="Pixiu868686" mysql:5.7 | ||
|
||
### 启动 pixiu 服务端 | ||
创建 pixiu 数据库 | ||
CREATE DATABASE pixiu; | ||
``` | ||
# 启动 pixiu 服务端 | ||
```bash | ||
# 创建配置文件夹 | ||
创建配置文件夹 | ||
mkdir -p /etc/pixiu/ | ||
|
||
# 后端配置 | ||
vim /etc/pixiu/config.yaml | ||
后端配置(host 根据实际情况调整) | ||
vim /etc/pixiu/config.yaml 写入后端如下配置 | ||
default: | ||
# 运行模式,可选 debug 和 release | ||
mode: debug | ||
listen: 8090 | ||
auto_migrate: true | ||
|
||
# 前端配置(ip 根据实际情况调整) | ||
数据库地址信息 | ||
mysql: | ||
host: pixiu | ||
user: root | ||
password: Pixiu868686 | ||
port: 3306 | ||
name: pixiu | ||
|
||
前端配置(ip 根据实际情况调整) | ||
vim /etc/pixiu/config.json | ||
{ | ||
"url": "http://192.168.16.156" | ||
} | ||
``` | ||
|
||
### 启动 pixiu | ||
# 启动 pixiu | ||
```bash | ||
docker run -d --net host --restart=always --privileged=true -v /etc/pixiu/:/configs --name pixiu-aio jacky06/pixiu-aio | ||
|
||
# 登录效果 | ||
登录效果 | ||
浏览器登陆: http://192.168.16.156 | ||
``` | ||
# 页面展示 | ||
首页 | ||
<img width="1647" alt="image" src="https://github.com/youdian-xiaoshuai/pixiu/assets/64686398/9fc5e005-95cd-49ee-a13c-13f22949fd74"> | ||
|
||
容器服务 | ||
 | ||
|
||
集群展示 | ||
 | ||
|
||
命名空间 | ||
 | ||
|
||
|
||
|