使用python和fabric 2帮助提供、配置和部署towelfaction的脚本
webfaction-fab2的Python项目详细描述
webfabric2助手脚本
==br/>
这些脚本通过python和“fabric
2<;http://www.fabfile.org/>;``方便地运行一些常见任务,
管理
LetsEncrypt证书。
类似这样:
$pipen run python-m wf_fab2.makefab
,然后开始使用命令
$pipenv run fab-l
::
loading.env环境变量…
可用任务:
可用任务:
acme install acme.sh for letsencrypt certificates on aWebFaction主机。
检查网站检查所有配置网站的HTTP响应模式。
列出网站列出其链接的应用程序和子域的所有网站。
安全网站为网站颁发证书并使用Acme WebFaction安装
…
$pipenv run fab-h web39.webfaction.com检查网站accountname
::
加载.env环境变量…
api密码:
检查:https://example.com/
可用:https://example.com/
检查:https://anotherexample.com/
/users/mjoakes/.local/share/virtualenvs/webfaction_helpers-rub6jd7n/lib/python3.6/site packages/urllib3/connectionpool.py:857:不安全请求警告:正在发出未验证的https请求。强烈建议添加证书验证。请参阅:https://urllib3.readthedocs.io/en/latest/advanced usage.html ssl warnings
insecurerequestwarning
可用:https://anotherexample.com/invalid certificate
..
$pipenv run fab-h web39.webfaction.com列出网站帐户名
::
api密码:
example站点名[[“exampleapp”,'/']]['example.com''www.example.com']
anotherexample.com'[['anotherexamplapp''/']['anotherexample.com''['anotherexample.com']]
>$pipenv run fab-h web39.webfavision.com ssecure网站accountname
anotherexample网站名
<
:
<
<
<
<
<
<
<
<
<
<
<
1.x提供一套全面且经过测试的脚本,支持在webfaciton
主机上配置和部署django项目。当我慢慢地把它们移到fabric2时,我打算在这里分享它们。
==br/>
这些脚本通过python和“fabric
2<;http://www.fabfile.org/>;``方便地运行一些常见任务,
管理
LetsEncrypt证书。
类似这样:
$pipen run python-m wf_fab2.makefab
,然后开始使用命令
$pipenv run fab-l
::
loading.env环境变量…
可用任务:
可用任务:
acme install acme.sh for letsencrypt certificates on aWebFaction主机。
检查网站检查所有配置网站的HTTP响应模式。
列出网站列出其链接的应用程序和子域的所有网站。
安全网站为网站颁发证书并使用Acme WebFaction安装
…
$pipenv run fab-h web39.webfaction.com检查网站accountname
::
加载.env环境变量…
api密码:
检查:https://example.com/
可用:https://example.com/
检查:https://anotherexample.com/
/users/mjoakes/.local/share/virtualenvs/webfaction_helpers-rub6jd7n/lib/python3.6/site packages/urllib3/connectionpool.py:857:不安全请求警告:正在发出未验证的https请求。强烈建议添加证书验证。请参阅:https://urllib3.readthedocs.io/en/latest/advanced usage.html ssl warnings
insecurerequestwarning
可用:https://anotherexample.com/invalid certificate
..
$pipenv run fab-h web39.webfaction.com列出网站帐户名
::
api密码:
example站点名[[“exampleapp”,'/']]['example.com''www.example.com']
anotherexample.com'[['anotherexamplapp''/']['anotherexample.com''['anotherexample.com']]
>$pipenv run fab-h web39.webfavision.com ssecure网站accountname
anotherexample网站名
<
:
<
<
<
<
<
<
<
<
<
<
<
1.x提供一套全面且经过测试的脚本,支持在webfaciton
主机上配置和部署django项目。当我慢慢地把它们移到fabric2时,我打算在这里分享它们。