mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
Create README.md
This commit is contained in:
parent
47b3983896
commit
3758b07234
1 changed files with 19 additions and 0 deletions
19
scripts/README.md
Normal file
19
scripts/README.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Scripts
|
||||
|
||||
## install.sh
|
||||
|
||||
install.sh 是我们提供的一键安装脚本,用于部署基于Ansible的应用项目
|
||||
|
||||
```
|
||||
#安装项目,初始化
|
||||
wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/master/scripts/install.sh; bash install.sh -r magento -i 1
|
||||
|
||||
|
||||
#安装项目,不初始化
|
||||
wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/master/scripts/install.sh; bash install.sh -r magento -i 0 或
|
||||
wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/master/scripts/install.sh; bash install.sh -r magento
|
||||
```
|
||||
install.sh 支持两个参数:
|
||||
|
||||
* -r 代表项目名称,例如:magento, lamp, lnmp, wordpress, joomla, gitlab 等
|
||||
* -i 代表是否初始化,支持 0(默认值)和1 两种参数
|
Loading…
Reference in a new issue