From 0399074fcb586ad5227813ff1eb7a69d4068c3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Mon, 22 May 2017 11:27:30 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 47 +++-------------------------------------------- 1 file changed, 3 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index 9e51b239b..d522a3814 100644 --- a/README.md +++ b/README.md @@ -6,51 +6,10 @@ Jumpserver是一款使用Python, Django开发的开源跳板机系统, 助力互 * Django 1.11 ### 安装 -- 安装依赖库 -``` - $ cd requirements - $ sudo yum -y install `cat rpm_requirements.txt` # CentOS/RedHat - $ sudo apt-get install `cat deb_requirements.txt` # Ubuntu/Debian -``` +使用docker compose 安装,一键完成,docker compose 安装见 docker官方 -- 安装Python依赖包 - -``` -# 请自行安装 Python 和 pip, 和虚拟环境, 如果速度慢可以尝试后面的 douban pypi -$ pip3 install -r requirements.txt # -i https://pypi.doubanio.com/simple - -# MacOS -$ pip3 install -r requirements.txt # -i https://pypi.doubanio.com/simple --user -``` - -- 配置文件 - -``` -$ cd .. -$ cp config_example.py config.py -``` - -配置项 参考 config.py - -- 初始化数据库 -``` -$ cd utils -$ sh make_migrations.sh -$ sh init_db.sh -``` - -- 依赖redis -``` -$ yum -y install redis -$ service redis start # Run docker or redis-server & -``` - -- 启动 - -``` -$ python3 run_server.py -``` - +   $ docker-compose up + ### 开发者文档 From e21bea6ec0d839d9a1095edcd275445e86e03108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Mon, 22 May 2017 12:31:37 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d522a3814..1f3c87cb0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,11 @@ Jumpserver是一款使用Python, Django开发的开源跳板机系统, 助力互 使用docker compose 安装,一键完成,docker compose 安装见 docker官方   $ docker-compose up - + +### 截图 + +参见 https://github.com/jumpserver/jumpserver/issues/438 + ### 开发者文档