Updated v0.4.0 基于 RedHat 的系统 (markdown)

master
假想控 2017-06-16 18:41:57 +08:00
parent 634d5f80d0
commit b612f08504
1 changed files with 5 additions and 3 deletions

@ -110,14 +110,16 @@ $ cd /opt
$ git clone git@github.com:jumpserver/luna.git $ git clone git@github.com:jumpserver/luna.git
``` ```
##### 4.2 安装依赖 **4.2 安装依赖**
$ cd requirements $ cd requirements
$ pip install --user -r requirements.txt -i https://pypi.douban.com/simple $ pip install --user -r requirements.txt -i https://pypi.douban.com/simple
##### 4.3 修改配置 **4.3 修改配置**
``` ```
$ cd .. $ cd ..
$ vim config.py $ vim config.py
$ export JUMPSERVER_ENDPOINT='http://a-jumpserver-url:port' $ export JUMPSERVER_ENDPOINT='http://a-jumpserver-url:port'
# 或修改配置文件设置 JUMPSERVER_ENDPOINT = 'http://127.0.0.1:8080/' # 或修改配置文件设置 JUMPSERVER_ENDPOINT = 'http://127.0.0.1:8080/'
``` ```
**4.4 启动**
$ python run_server.py