基礎環境: 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