【问题标题】:web2py git integration - localhost & pythonanywhereweb2py git 集成 - localhost 和 pythonanywhere
【发布时间】:2014-04-15 08:43:26
【问题描述】:

我完全不知道如何将 Github 集成到 web2py 中。我在 USB 和 pythonanywhere 上安装了 web2py。

web2py 概述文档第 3 章 http://web2py.com/books/default/chapter/29/03/overview 说:

Git 集成

管理应用程序还包括 git 集成。需要 Python git 库,例如

pip install gitpython

这对我来说没有任何意义!!?我刚刚开始编程并尝试确保一切设置正确!

任何帮助将不胜感激!

非常感谢

【问题讨论】:

    标签: python git github web2py pythonanywhere


    【解决方案1】:

    pip install gitpython 是在命令行中键入的命令。这将是 PythonAnywhere 上的“Bash 控制台”、Mac 或 Linux 上的“终端”或 Windows 上的“命令提示符”。它告诉系统安装名为“gitpython”的Python包

    但是,为了使其正常工作,您需要安装 pip(PythonAnywhere 除外,它已经安装)。有instructions on how to do that here

    【讨论】:

    • 安装了gitpython模块之后呢?你在哪里配置它连接的 git 存储库,你在哪里输入 GitHub 的用户名/密码?
    猜你喜欢
    • 2015-05-23
    • 1970-01-01
    • 2015-01-04
    • 2015-05-25
    • 2012-01-13
    • 2017-01-08
    • 2021-11-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多