Skip to content

youken9980/shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[TOC]

常用脚本

使用说明

git clone https://github.com/youken9980/shell.git
cd shell
ln -snf *.sh ~/.

网络设计院 CDI

cloneCdiProject.sh

克隆所有工程。 使用方法:

克隆后台开发1个架构项目、3个网关项目、13个微服务项目

cloneCdiProject.sh

克隆前端开发3个页面项目

cloneCdiProject.sh frontpage

generateCdiDockerRun.sh

生成所有工程对应的docker命令。 使用方法:

generateCdiDockerRun.sh

generateCommand.sh

生成所有工程对应的批处理命令,在Windows系统当前用户桌面的command目录。 使用方法:

generateCommand.sh

generateResolveProperties.sh

抽取各网关、微服务proto文件中所有Service类,供后台开发同学直连调试使用。 使用方法:

generateResolveProperties.sh

grepDeployTxt.sh

编译并上传Framework中所有API项目到中央库。 使用方法:

grepDeployTxt.sh

grepCompileTxt.sh

编译所有工程。 使用方法:

grepCompileTxt.sh

prepareCdiProject.sh

删除.iml文件、删除.idea目录、删除target目录,编译网关及微服务工程。 使用方法:

prepareCdiProject.sh

sedFrontpage.sh

替换三个页面工程所有html文件里js的版本,使浏览器主动读取修改后的js,防止加载缓存。 使用方法:

sedFrontpage.sh

sedPlatformUserService.sh

将PlatformUserServiceImpl.java中的@CeresReference(domain = "cn.enncloud.ceres.base")注释掉。 使用方法:

sedPlatformUserService.sh

startCDIService.sh

启动所有微服务工程,使用kill命令或stopCDIBackend.sh终止。 使用方法:

startCDIService.sh

startCDIGateway.sh

启动所有网关工程,使用kill命令或stopCDIBackend.sh终止。 使用方法:

startCDIGateway.sh

startCDIFrontpage.sh

启动所有页面工程,control + c终止。 使用方法:

startCDIFrontpage.sh

stopCDIBackend.sh

终止微服务和网关工程。 使用方法:

stopCDIBackend.sh

updateFrameworkVersion.sh

更新版本号,MacOS版本。 使用方法:

updateFrameworkVersion.sh

updateFrameworkVersion_windows.sh

更新版本号,Windows版本。 使用方法:

updateFrameworkVersion_windows.sh

通用

batch.sh

批处理命令,对当前目录下所有子目录,执行命令列表。 使用方法:

batch.sh [frontpage|gateway|service] <'command1'> ['command2'] ['command3'] ...

batchList.sh

批处理命令,对脚本中指定的子目录,执行命令列表。 使用方法:

batchList.sh <'command1'> ['command2'] ['command3'] ...

cleanLastUpdated.sh

清理maven生成的lastupdated文件。 使用方法:

cleanLastUpdated.sh

gitPrune.sh

清理无效分支,并压缩历史信息。

git pull --rebase
git remote prune origin
git gc --prune=now

使用方法:

gitPullAllBranch.sh

gitPullAllBranch.sh

更新当前Git库的所有分支。 使用方法:

gitPullAllBranch.sh

mvn.sh

mvn命令的简便格式,其中默认已含mvn clean -Dmaven.test.skip=true -U。 使用方法:

mvn.sh [clean|compile|package|install|deploy|spring-boot:run|jetty:run|docker:build]

jettyrun.sh

~/mvn.sh jetty:run。 使用方法:

jettyrun.sh

springbootrun.sh

~/mvn.sh spring-boot:run。 使用方法:

springbootrun.sh

Docker

dockerlsimg.sh

列印本地所有docker镜像,格式 Image:Tag,便于复制粘贴。 使用方法:

dockerlsimg.sh

dockersave.sh

保存本地所有镜像到当前目录下的tar目录。 使用方法:

dockersave.sh

dockerupdate.sh

更新本地所有镜像。 使用方法:

dockerupdate.sh

dockerrminone.sh

停止并删除本地所有Tag为<none>的镜像。 使用方法:

dockerrminone.sh

dockerrmall.sh

停止并删除本地所有运行中的docker容器。 使用方法:

dockerrmall.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages