web2py git integration - localhost & pythonanywhere

为君一笑 提交于 2019-12-07 12:12:32

问题


I have absolutely no idea how to integrate Github into web2py. I have web2py installed on a usb and also on pythonanywhere.

The web2py overview document chapter3 http://web2py.com/books/default/chapter/29/03/overview says :

Git integration

The admin app also includes git integration. Python git libraries are required, e.g.

pip install gitpython

This doesn't mean a thing to me!!? I am just getting into programming and trying to make sure everything is set up properly!

Any help would be really appreciated!

Many thanks


回答1:


pip install gitpython is a command to type into a command line. That would be a "Bash console" on PythonAnywhere, a "Terminal" on a Mac or Linux, or a "Command Prompt" on Windows. It tells the system to install the Python package called "gitpython"

However, in order to make it work, you'll need to install pip (except on PythonAnywhere, where it's already installed). There are instructions on how to do that here.



来源:https://stackoverflow.com/questions/22330784/web2py-git-integration-localhost-pythonanywhere

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!