Unverified Commit ce499086 authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

1.2.0文档更新

新增迁移脚本说明;
parent 66ab84a8
......@@ -6,7 +6,10 @@
::
$ git pull && pip install -r requirements/requirements.txt && cd utils && sh make_migrations.sh
   # 1.0.x 升级 1.2.0 需要执行迁移脚本(新版本授权管理更新)
$ sh 2018_04_11_migrate_permissions.sh
 
2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
::
......@@ -23,7 +26,8 @@
$ docker pull registry.jumpserver.org/public/guacamole:latest
$ docker stop jms_guacamole # 或者写guacamole的容器ID
$ docker run --name jms_guacamole -d \
  $ docker rename jms_guacamole jms_guacamole_bak # 如果名称不正确请手动修改
  $ docker run --name jms_guacamole -d \
-p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
-e JUMPSERVER_KEY_DIR=/config/guacamole/key \
-e JUMPSERVER_SERVER=http://<填写本机的IP地址>:8080 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment