基于区块链政校企合作信息共享平台
Information sharing platform of government school enterprise cooperation based on blockchain
软件架构说明
技术栈:
spring boot,spring mvc,mybatis,mybatis plus,hyperledger fabric
- idea自带数据库管理工具导入方式 创建ispogsecbob数据库命令:
CREATE SCHEMA ispogsecbob DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
- maven引入jar包
选择maven插件中的install 或
mvn install
- 运行ISPOGSECBOBApplication
- 构建镜像:
mvn clean package docker:build
- 部署应用:
docker run --name ispogsecbob --privileged=true -d -p 8080:8080 -v /root/mikey/MIKEY:/home/mikey/MIKEY 90fbb84d9eb1
- 下载依赖:
mvn clean install
- 构建镜像:
docker build -t mikeyboom/ispogsecbob:lastst .
- 推到仓库:
docker push mikeyboom/ispogsecbob
- 拉取镜像:
docker pull mikeyboom/ispogsecbob:latest
- 启动服务:
docker-compose -f docker-compose.yml -d
修改普通用户只改一个 SET PASSWORD FOR 'username' = PASSWORD('xxxxxxxx');
修改root用户改两个
SET PASSWORD FOR 'root' = PASSWORD('xxxxxxxxx');
SET PASSWORD FOR 'root'@'localhost'=PASSWORD('xxxxxxxxx');
Travis CI