jumpserver/README.md

47 lines
1.5 KiB
Markdown
Raw Normal View History

2016-09-03 11:05:50 +00:00
// Jumpserver //
~ Jumpserver是什么?
Jumpserver是一款开源的跳板机(堡垒机)产品, 主要使用Python,Django开发
他实现了跳板机(堡垒机)的主要功能,删减、优化了传统堡垒机,致力于为互联网
运维提供服务
~ 版本依赖
* Python 2.7
* Django 1.10
~ 快速开始
```
2016-12-27 15:44:05 +00:00
pip install -r requirements.txt # Install pip module
2016-09-03 11:05:50 +00:00
2016-12-27 15:44:05 +00:00
yum -y install `cat rpm_requirements.txt` # Install rpm package
2016-09-03 11:05:50 +00:00
2017-01-13 07:30:23 +00:00
cp config_example.py config.py # Prepaire config from example config
2016-11-14 11:21:46 +00:00
2016-12-27 15:44:05 +00:00
cd apps && python manage.py makemigrations # Make migrations for django
2016-11-14 11:21:46 +00:00
2016-12-27 15:44:05 +00:00
python manage.py migrate # Migrate ORM to database
2016-11-14 11:21:46 +00:00
2016-12-27 15:44:05 +00:00
python manage.py loaddata init # Init some data
python manage.py loaddata fake # Generake some fake data
2016-09-03 11:05:50 +00:00
2016-11-14 11:25:17 +00:00
yum -y install redis && service redis start # Or install redis docker
2016-12-27 15:44:05 +00:00
python manage.py runserver 0.0.0.0:80 # Run it
2016-09-03 11:05:50 +00:00
```
~ 文档
2016-08-12 17:16:52 +00:00
2016-10-09 10:14:19 +00:00
* [项目结构描述](https://code.jumpserver.org/jumpserver/jumpserver/blob/master/docs/project_structure.md)
* [Python代码规范](https://code.jumpserver.org/jumpserver/jumpserver/blob/master/docs/python_style_guide.md)
* [API设计规范](https://code.jumpserver.org/jumpserver/jumpserver/blob/master/docs/api_style_guide.md)
2016-11-18 02:22:35 +00:00
* [表结构](https://code.jumpserver.org/Jumpserver/jumpserver/wikis/table-structure)
2016-08-12 17:16:52 +00:00