【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
sql建立数据库
create database opsmanage DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
grant all privileges on opsmanage.* to root@'%' identified by 'password';
安装依赖
brew install libmagic
配置文件
conf/opsmanage.ini
[db]
engine = mysql
host = 127.0.0.1
port = 3307
user = root
password = 123456
database = opsmanage
[redis]
host = 127.0.0.1
port = 6379
password =
ansible_db = 3
celery_db = 4
default_db = 0
[deploy]
path = /Users/lijingjing/OpsManage/workspaces
初始化数据
python3 manage.py makemigrations wiki
python manage.py createsuperuser
# 建立后台管理员帐号
https://github.com/welliamcao/OpsManage
来源:oschina
链接:https://my.oschina.net/attacker/blog/3146446