Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
opms-command
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
赵凯
opms-command
Commits
ceaff61a
Commit
ceaff61a
authored
Nov 22, 2021
by
赵凯
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add README.md
parent
e81d9c53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
README.md
README.md
+39
-0
No files found.
README.md
0 → 100644
View file @
ceaff61a
## 环境依赖: python, 三方包
-
python环境安装
https://www.runoob.com/python/python-install.html
-
三方包
pip3 install requests filecache
(pip install requests filecache)
## 配置脚本
-
终端执行命令: vim ~/.zshrc
-
.zshrc 文件中写入
```
alias opms='/Users/kaen98/python-www/opms-command/opms.py'
alias opms-test='opms test'
alias opms-beta='opms beta'
```
-
刷新配置, source ~/.zshrc
## 部署命令
opms
[
环境别名:test|beta
]
[
部署描述
]
```
# 部署test环境
opms test "A需求"
# 快捷部署
opms-test "A需求"
# 部署beta环境
opms beta "B需求"
# 快捷部署
opms-beta "A需求"
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment