| DIFIO-OpenShift-Python Agente de Registro Difio para Aplicações OpenShift / Python |
Baixe Agora |
DIFIO-OpenShift-Python Classificação e resumo
- Licença:
- MIT/X Consortium Lic...
- Nome do editor:
- Alexander Todorov
- Site do editor:
- http://monupco.com
DIFIO-OpenShift-Python Tag
DIFIO-OpenShift-Python Descrição
Difio-OpenShift-Python é um agente de registro difio para aplicativos OpenShift / Python.it compila uma lista de pacotes Python instalados localmente e envia para http: //www.dif.io.installing no seu openShift ApplicationCreate uma conta em http: / /www.dif.Iocreate um aplicativo Python em openShiftrhc-create-app -a myapp -t python-2.6add uma dependência em seu setup.py setuptools filefrom setuptols import setupsetup (nome = 'myapplication', versão = '1.0', install_requires = ,) Defina o seu ID de usuário no arquivo ./data/difio_settings fileCD ./myapp/echo "Export difio_user_id = youruserid"> ./data/difio_settingSopenshift Por padrão tratará sua inscrição como um pacote. Se o nome fornecido no setup.py é diferente do nome passado para o comando rhc-create-app, defina o nome do aplicativo no ./data/difio_settings fileecho "Exportar difio_app_name = 'myApplication'" >> ./data/difio_settingsEste registro Script irá ignorar os nomes de pacotes que correspondem ao valor de Variáveis de Ambiente OpenShift_Gear_Name e Difio_App_Name.enable O script de registro em .Openshift / action_hooks / post_deploy # ativar o virtualenv Para usar o correto librariSeSource $ OpenShift_Gear_Dir / Virtenv / bin / Ativar # definesssource $ OpenShift_RePo_Dir / Dados / Difio_Settings # Registrar / Atualizar o applicationpython $ OpenShift_Gear_Dir / Virtenv / Bin / Difio-OpenShift-Pythonthen Empurre seu aplicativo para o openshiftgit Pushthat, você pode agora verificar suas estatísticas de aplicativo em http: //www.dif.ioproduct's homepage
DIFIO-OpenShift-Python Software Relacionado