git 操作手册
commit的指针,tag命令主要用于 发布版本管理,当一个版本发布时,打上tag标签。 有了分支(branch)为什么还要引入tag这个概念呢? 因为tag是相对于同一个分支而言的,同一分支不停地开发,有新增的文件,也 有修改旧的文件,每次提交(commit)后当前分支的HEAD指针会指向最新的提 交,那么如何管理旧的提交呢?可以对某个时间点的提交打个标记,方便后续 的版本追溯及管理。这个标记就是tag # git tag new-tag old-tag #基于原有的old-tag创建新tag(可用于重命名,生 成新tag后,再删除旧的tag) ★git远程协作开发 远程协作的基本流程: ① 管理员在创建一个空的远程仓库(比如在gitlab上创建一个空的项目) ② 管理员创建一个待推送的本地仓库 ③ 管理员关联本地仓库与远程仓库 ④ 管理员在本地仓库中编辑代码,提交代码 h�ps://tortoisegit.org/ 使用TortoiseGit时,要求提前安装好git工具 ★部署gitlab仓库 gitlab是一个基于git实现的在线代码仓库软件,提供web可视化管理界面,通常 用于企业团队内部协作开发 ★安装gitlab-ce 部署gitlab-ce要求服务器内存>=4GB,本例使用操作系统为 Rocky Linux 8.8, gitlab-ce版本16.5.00 码力 | 35 页 | 1.69 MB | 1 年前3python3学习手册
-S /pypi命令即可 #最后创建一个web server(如nginx)监听7788端口,根目录为python 模块包所在目录 server { listen 7788; loca�on / { root /pypi; } } #测试,在浏览器打开以下地址(10.99.1.248为web server的ip) h�p://10.99.1.248:7788/simple/ __name__ == '__main__': test_tk() ★django模块 Django是一个高级的Python Web框架,可以快速开发安全和可维护的 网站。Django项目有一个内置的开发服务器,用于在没有任何外部 Web服务器的情况下立即运行应用程序。 # pip3 install django==5.0.1 import django print(django Star�ng development server at h�p://127.0.0.1:8000/ Quit the server with CTRL-BREAK. 以 上 命 令 启 动 一 个 web 服 务 器 , 监 听 8000 端 口 , 浏 览 器 访 问 h�p://127.0.0.1:8000/ 时,显示应用的欢迎页面 h�p://127.0.0.1:8000/admin/ 可0 码力 | 213 页 | 3.53 MB | 1 年前3k8s操作手册 2.3
★★创建pod 创建单个pod,在可操作k8s集群的结点上创建一个yaml文件 # vi pod-nginx-web1-v1.19.5.yml #内容如下 apiVersion: v1 kind: Pod metadata: name: pod-nginx-web1-v1.19.5 #pod名,这个名称可带小数点 labels: labels: #给pod打标签,便于其他资源对它的选择 lbname: lbvalue-nginx-web1 spec: containers: #在spec次级,定义一组容器,-表示数组 - name: nginx-v1-19-5 metadata: name: svc-nginx-web1 #其他pod可直接访问此名称:servicePort,如 curl -kv h�p://svc-nginx-web1:2380/ spec: selector: #通过标签选择目标pod lbname: lbvalue-nginx-web1 #与目标pod的label相同,如果目标pod有多0 码力 | 126 页 | 4.33 MB | 1 年前3Velocity Conference 2015
ormance-best-practices-together-for-a-spa "We have created the web in our own image, and it is obese" Modern web hourglass, web tier is now thin, smarts moved to browser Metrics, metrics everywhere than any other metric Web Performance: 2 seconds is the magic number Whom did I meet?Attributions and References [1] Speaker Slides and Videos: http://velocityconf.com/devops-web-performance-2015/pub0 码力 | 4 页 | 176.79 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
book is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 4 页 | 379.23 KB | 5 月前3The DevOps Handbook
ability to learn from mistakes and diminish integrating that learning into future work d. Google Web Server (GWS) team was struggling with changes – Hard line: no changes would be accepted into GWS without0 码力 | 8 页 | 23.08 KB | 5 月前3A Seat at the Table: IT Leadership in the Age of Agility - Part 2
book is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.61 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
requires some sort of management.About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.48 KB | 5 月前3
共 8 条
- 1