fabric_components-0.1.1
توضیحات
UNKNOWN
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fabric_components-0.1.1 |
| نام | fabric_components |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | lishuo |
| ایمیل نویسنده | shuoli84@gmail.com |
| آدرس صفحه اصلی | https://github.com/shuoli84/fabric-components |
| آدرس اینترنتی | https://pypi.org/project/fabric_components/ |
| مجوز | MIT |
This package contains some common tasks for fabric.
Including:
install mysql
# db_env will prompt for root password and database user password
db_env(database="databasename", database_user="databaseuser")
# Now install the mysql server or client by setting flags
install_mysql(server=True, client=True)
# Then create database and user
create_database()
create_user()
install apache2
from fabric-components/apache import *
# This will install apache and mod wsgi
install_apache(mods=['list', 'of', 'enabled', 'mod'], disable_sites=['default'])
نحوه نصب
نصب پکیج whl fabric_components-0.1.1:
pip install fabric_components-0.1.1.whl
نصب پکیج tar.gz fabric_components-0.1.1:
pip install fabric_components-0.1.1.tar.gz