biz-a-cli
v2.3.49
Published
BizA add -s [IP of FINA API] -p [default: 212] -i [dbindex] -d [full or relative path to app folder]
Downloads
508
Readme
This package is used to setup applications within your Biz-A Platform
I. Add BizA App
a. Using Static IP
BizA add -s [IP of FINA API] -p [default: 212] -i [dbindex] -d [full or relative path to app folder]
Example :
BizA add -s http://192.168.1.1 -i 2 -d “c:\biza templates\imamatek”
BizA add -s http://192.168.1.1 -p 1205 -i 2 -d “c:\biza templates\imamatek”
b. Using BizA Hub
BizA add -s [BizA Hub Server] -i [dbindex] --sub [subdomain of BizA Hub Server] -d [full or relative path to app folder]
Example :
BizA add -s https://biz-a.hub.com -i 2 –-sub imm -d “c:\biza templates\imamatek”
c. Using Domain / Sub Domain
BizA add -s [Domain] -i [dbindex] -d [full or relative path to app folder]
Example:
BizA add -s https://my.domain.com -i 2 -d “c:\biza templates\imamatek”
[!TIP] BizA add --help
II. Remove BizA App
a. Using Static IP
BizA remove -s [IP of FINA API] -p [default: 212] -i [dbindex] -n [appname | multiple appname]
Example :
BizA remove -s http://192.168.1.1 -i 2
BizA remove -s http://192.168.1.1 -p 1205 -i 2 -n “imamatek”
BizA remove -s http://192.168.1.1 -p 1205 -i 2 -n “imamatek, spos”
b. Using BizA Hub
BizA remove -s [BizA Hub Server] -i [dbindex] --sub [subdomain of BizA Hub Server] -n [appname | multiple appname]
Example :
BizA remove -s https://biz-a.hub.com -i 2 –sub imm -n “imamatek”
c. Using Domain / Sub Domain
BizA remove -s [Domain] -i [dbindex] -n [appname | multiple appname]
Example:
BizA remove -s https://my.domain.com -i 2 -n “imamatek”
[!TIP] BizA remove --help
[!CAUTION] The uploadBizA, uploadApp, deleteApp commands are deprecated and will be removed in the future.
III. Hub
a. Using HTTP
hub --server [BizA Hub Server] --sub [subdomain] --hostname [ip_API] --port [port_API]
Example :
hub --server https://biz-a.herokuapp.com --sub imamatek --hostname localhost --port 212
b. Using HTTPs (SSL)
hub --server [BizA Hub Server] --sub [subdomain] --hostname [ip_API] --port [port_API] --secure
Example :
hub --server https://biz-a.herokuapp.com --sub imamatek --hostname localhost --port 212 --secure
c. Publish Hub
hub --server [BizA Hub Server] --sub [subdomain] --hostname [ip_API] --port [port_API] --publish [true]
Example :
hub --server https://biz-a.herokuapp.com --sub imamatek --hostname localhost --port 212 --publish=false