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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章