1. 程式人生 > >Yearning基於Inception的開源SQL稽核平臺

Yearning基於Inception的開源SQL稽核平臺

基礎環境: python3 nodejs vuejs mysql python-ldap pymysql

mysql

新建資料庫

create database Yearning DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Navicat匯入初始化資料 : Yearning.sql

前端

nvm  install v8
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install webpack -g
npm install vue-cli -g


pip  install -i http://mirrors.aliyun.com/pypi/simple  --trusted-host mirrors.aliyun.com  -r Yearning/src/requirements.txt
cp  Yearning/src/deploy.conf.template  Yearning/src/deploy.conf

inception

http://supermancookie.com/Yearning-document/

原始碼編譯

cp -vRp  nfs/software/yearning/yearning/inception-master /opt/
 && sh inception_build.sh debug
make && make install

docker部署

pip install docker-compose
docker-compose up -d

web

yum install nginx