# smarthome **Repository Path**: yaohx/smarthome ## Basic Information - **Project Name**: smarthome - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 智能家居微信小程序后台服务 # 1. 安装部署 1. 安装docker及docker-compose 2. 执行maven打包命令,构建Docker镜像 3. 配置环境变量 > 1. MYSQL_ROOT_PASSWORD mysql数据库密码 > 2. WX_SP_APPID 小程序唯一标识 (在微信小程序管理后台获取) > 3. WX_SP_SECRET 小程序的 app secret (在微信小程序管理后台获取) 4. 创建nginx配置文件目录 > 1. /opt/docker/config_nginx Nginx配置文件目录 > 2. /opt/docker/nginx Nginx数据目录,可以不配置 > 3. /opt/docker/letsencrypt Nginx的https证书(我的是在阿里云上申请的) 5. 修改配置文件 > 1. 检查docker-compose.yml文件中的