简体   繁体   English

如何安装从Internet下载的Django网站(tar.gz)

[英]How to install the django site (tar.gz) downloaded from internet

I have downloaded this project http://code.google.com/p/django-budget/ 我已经下载了该项目http://code.google.com/p/django-budget/

How can i install it. 我该如何安装。 Do i need to execute some commands or just extract it to some folder. 我需要执行一些命令还是将其提取到某个文件夹中?

DO i need to use syncdb. 我需要使用syncdb吗?

I am newbie so don't know much 我是新手,所以不太了解

PS. PS。 It's been moved to https://github.com/toastdriven/django-budget for a while now. 它已经移至https://github.com/toastdriven/django-budget已有一段时间了。

There is information on the frontpage of the site: 该网站的首页上有信息:

Installation 安装

  • Either copy/symlink the budget app into your project or place it somewhere on your PYTHONPATH. 将预算应用程序复制/符号链接到您的项目中,或将其放置在PYTHONPATH上的某个位置。

  • Add the budget.categories, budget.transactions and budget apps to your INSTALLED_APPS. 将budget.categories,budget.transactions和budget应用程序添加到INSTALLED_APPS。

  • Run ./manage.py syncdb. 运行./manage.py syncdb。

  • Add (r'^budget/', include('budgetproject.budget.urls')), to your urls.py. 将(r'^ budget /',include('budgetproject.budget.urls'))添加到您的urls.py中。

You need Python and Djano installed. 您需要安装Python和Djano。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM