Unverified Commit 4cdbb2ef authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

Merge pull request #1552 from wojiushixiaobai/docs

[fix]修改文档
parents 764e0c26 316ed87c
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
DB_PORT = os.environ.get("DB_PORT") or 3306 DB_PORT = os.environ.get("DB_PORT") or 3306
DB_USER = os.environ.get("DB_USER") or 'jumpserver' DB_USER = os.environ.get("DB_USER") or 'jumpserver'
DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword' DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword'
DB_NAME = os.environ.get("DB_NAME") or 'jmstest' DB_NAME = os.environ.get("DB_NAME") or 'jumpserver'
# Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问 # Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问
# ./manage.py runserver 127.0.0.1:8080 # ./manage.py runserver 127.0.0.1:8080
......
...@@ -161,7 +161,7 @@ CentOS 7 安装文档 ...@@ -161,7 +161,7 @@ CentOS 7 安装文档
DB_PORT = os.environ.get("DB_PORT") or 3306 DB_PORT = os.environ.get("DB_PORT") or 3306
DB_USER = os.environ.get("DB_USER") or 'jumpserver' DB_USER = os.environ.get("DB_USER") or 'jumpserver'
DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword' DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword'
DB_NAME = os.environ.get("DB_NAME") or 'jmstest' DB_NAME = os.environ.get("DB_NAME") or 'jumpserver'
# Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问 # Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问
# ./manage.py runserver 127.0.0.1:8080 # ./manage.py runserver 127.0.0.1:8080
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
DB_PORT = os.environ.get("DB_PORT") or 3306 DB_PORT = os.environ.get("DB_PORT") or 3306
DB_USER = os.environ.get("DB_USER") or 'jumpserver' DB_USER = os.environ.get("DB_USER") or 'jumpserver'
DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword' DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword'
DB_NAME = os.environ.get("DB_NAME") or 'jmstest' DB_NAME = os.environ.get("DB_NAME") or 'jumpserver'
# Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问 # Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问
# ./manage.py runserver 127.0.0.1:8080 # ./manage.py runserver 127.0.0.1:8080
......
...@@ -206,7 +206,7 @@ Pip 加速设置请参考 <https://segmentfault.com/a/1190000011875306> ...@@ -206,7 +206,7 @@ Pip 加速设置请参考 <https://segmentfault.com/a/1190000011875306>
DB_PORT = os.environ.get("DB_PORT") or 3306 DB_PORT = os.environ.get("DB_PORT") or 3306
DB_USER = os.environ.get("DB_USER") or 'jumpserver' DB_USER = os.environ.get("DB_USER") or 'jumpserver'
DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword' DB_PASSWORD = os.environ.get("DB_PASSWORD") or 'somepassword'
DB_NAME = os.environ.get("DB_NAME") or 'jmstest' DB_NAME = os.environ.get("DB_NAME") or 'jumpserver'
# Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问 # Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问
# ./manage.py runserver 127.0.0.1:8080 # ./manage.py runserver 127.0.0.1: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