Commit ceaff61a authored by 赵凯's avatar 赵凯 💬

Add README.md

parent e81d9c53
## 环境依赖: 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需求"
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment