上一页 1 2 3 4 5 6 ··· 25 下一页
  2023年3月2日
摘要: 1.准备vue打包后的dist 2.部署docker 1.准备vue打包后的dist a:1个dist目录;1个Dockerfile 文件。内容如下: FROM nginxCOPY dist/ /usr/share/nginx/html/ 说明:自动拉nginx 最新版本镜像,生成vue镜像 2.部 阅读全文
posted @ 2023-03-02 09:05 biind 阅读(377) 评论(0) 推荐(0)
摘要: 软件: 1.xftp 2.VM vistualBox 目录: 1.本地jar包准备 2.docker部署 1.本地jar包准备 2.docker部署 a.两个文件:jar + Dockerfile Dockerfile 名字唯一,只能这个取名 文件1:jar包;文件2:内容如下。 FROM open 阅读全文
posted @ 2023-03-02 07:01 biind 阅读(137) 评论(0) 推荐(0)
摘要: 1.mysql 2.redis PS:熟悉基本docker使用命令 images ps pull run exec rm rmi tag push start restart stop 1.mysql #安装最新版本docker pull mysql#安装指定版本docker pull mysql: 阅读全文
posted @ 2023-03-02 06:31 biind 阅读(29) 评论(0) 推荐(0)
摘要: docker安装 sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 sudo yum-config-manager \ --add-repo \ http://mirrors.aliyun.com/docker- 阅读全文
posted @ 2023-03-02 06:29 biind 阅读(25) 评论(0) 推荐(0)
摘要: 软件: 1.VM VistualBox 2.CentOS-7-x86_64-Minimal-2009.iso 3.配置静态ip及网络 3.配置静态ip及网络 a.打开【桥接网卡】 b.配置静态ip及dns 先查看window10系统的配置(cmd->ipconfig /all),主要获取dns,如果 阅读全文
posted @ 2023-03-02 06:08 biind 阅读(116) 评论(0) 推荐(0)
  2022年3月10日
摘要: 学习参考地址:https://www.bilibili.com/video/BV1Kr4y1i7ru?p=87 1.表、数据准备 2.索引学习 1.表、数据准备 SHOW CREATE TABLE student; CREATE TABLE `student` ( `id` int NOT NULL 阅读全文
posted @ 2022-03-10 21:35 biind 阅读(53) 评论(0) 推荐(0)
  2022年3月6日
摘要: npm i mysql --save 创建迁移(migration)adonis make:migration students创建好了之后执行adonis migration:status执行迁移,创建表格adonis migration:run adonis make:controller st 阅读全文
posted @ 2022-03-06 22:21 biind 阅读(49) 评论(0) 推荐(0)
  2022年3月5日
摘要: 1.vscode安装插件:rest client 2.根目录新增.http文件 3.编写接口+测试接口 参考:https://www.bilibili.com/video/BV1AW411f7Ae?p=8&spm_id_from=pageDriver 阅读全文
posted @ 2022-03-05 09:27 biind 阅读(49) 评论(0) 推荐(0)
  2022年3月4日
摘要: 创建视图adonis make:view student.indexadonis make:view student.detail Route.get('/student/index', 'StudentController.index')Route.get('/student/detail/:id 阅读全文
posted @ 2022-03-04 21:43 biind 阅读(48) 评论(0) 推荐(0)
摘要: 参考连接:https://www.bilibili.com/video/BV1AW411f7Ae?p=5&spm_id_from=pageDriver 1.环境搭建 2.基本目录 3.控制器 4.路由 5.模型 6.视图 1.环境搭建 npm i -g @adonisjs/cliadonis new 阅读全文
posted @ 2022-03-04 21:03 biind 阅读(318) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 25 下一页