Giter Site home page Giter Site logo

duidevice's Introduction

project

realology client

链接器参数

$(THIRD_PARTY)\xlnt\lib;$(THIRD_PARTY)\opencv\lib;$(THIRD_PARTY)\python\lib;$(THIRD_PARTY)\modbus\lib;$(THIRD_PARTY)\jsoncpp\lib;$(THIRD_PARTY)\mysql\lib\vs14;$(SOUIPATH)\bin64;%(AdditionalLibraryDirectories)

附加目录

$(THIRD_PARTY)\xlnt\include;$(THIRD_PARTY)\opencv\include;$(THIRD_PARTY)\python\include;$(THIRD_PARTY)\modbus\include;$(THIRD_PARTY)\boost\include;$(THIRD_PARTY)\jsoncpp\include;$(THIRD_PARTY)\mysql\include;./analysis;./modbus;./adapter;./database;./extensions;./utils;./layout;./;$(SOUIPATH)\config;$(SOUIPATH)\components;$(SOUIPATH)\SOUI\include;$(SOUIPATH)\utilities\include;%(AdditionalIncludeDirectories)

需要添加的环境变量

  • THIRD_PARTY
  • SOUIPATH

THIRD_PARTY

git clone http://192.168.30.241:9898/realology/third_party.git

THIRD_PARTY的值应该设置为该git库的目录

initial project

git clone -b ${branch} http://192.168.30.241:9898/realology/realology.git ${path}
cd ${path}
git submodule update --init

当子模块更新时

git submodule update --remote

Mysql数据库Docker运行语句

docker run --name some-mysql -e MYSQL_ROOT_PASSWORD="REALology@2021@Vertechs" -p 3306:3306 -d docker-regisrty.vertechs.com:5000/vertechs/karl/base/mysql:8.0.32-debian --lower-case-table-names=1

在这个语句中,指明了容器名称为some-mysql,同时指明了环境变量MYSQL_ROOT_PASSWORD="REALology@2021@Vertechs",暴露了通讯端口3306,使用的镜像其实是mysql:8.0.32-debiantag而来的镜像,放在内网镜像仓库,方便拉取。 其中--lower-case-table-names=1命令显示的指定了数据库以及即将初始化的数据字典路径对于大小写不敏感。 使用该命令的原因是,linux下mysql默认大小写敏感,而windows上,mysql默认大小写不敏感。

数据库数据导入和导出

导出

mysqldump -u root --password=REALology@2021@Vertechs realology > realology_dump.sql

导入

mysql -u root --password=REALology@2021@Vertechs realology < realology_dump.sql

duidevice's People

Contributors

h-zhikun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.