Pinax

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(Pinax (software)移动到重定向页Pinax)
 
(未显示1个用户的23个中间版本)
第1行: 第1行:
 +
{{SeeWikipedia|Pinax (software)}}
 +
 +
Pinax: a platform for rapidly developing websites
 +
 
Pinax is an open-source collection of integrated, but reusable apps for the [[Django]] Web Framework.
 
Pinax is an open-source collection of integrated, but reusable apps for the [[Django]] Web Framework.
  
第23行: 第27行:
 
==Code==
 
==Code==
 
  svn checkout https://svn.pinaxproject.com/pinax/trunk/ pinax
 
  svn checkout https://svn.pinaxproject.com/pinax/trunk/ pinax
 +
*http://github.com/pinax/pinax/
 +
*http://code.pinaxproject.com/
 +
==Install==
 +
python scripts/pinax-boot.py /home/allen/pianx-env
 +
source /home/allen/pianx-env/bin/active
 +
cd /home/allen/pianx-env
 +
bin/pinax-admin clone_project -l // get a list of available, 可创建不同类型的站点
 +
bin/pinax-admin clone_project social_project mysite
 +
cd mysite
 +
创建数据库 pinax
 +
vim settings.py 配置数据库
 +
python manage.py syncdb
 +
python manage.py runserver 192.168.1.101:8000
 +
http://192.168.1.101:8000
 +
 +
==PostgreSQL==
 +
#apt-get install python-psycopg2
 +
vi settings.py
 +
DATABASE_ENGINE = 'postgresql_psycopg2'    # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
 +
DATABASE_NAME = 'pinax'     
 +
DATABASE_USER = 'postgres'           
 +
DATABASE_PASSWORD = 'postgres'       
 +
DATABASE_HOST = 'localhost'       
 +
DATABASE_PORT = '5432'
 +
 +
==Nginx==
 +
==Integration==
 +
*[[Satchmo]]
 
==Links==
 
==Links==
 +
*[[OpenWeb]]
 
*http://pinaxproject.com/
 
*http://pinaxproject.com/
 
*[http://jtauber.com/pinax/ Pinax Blog]
 
*[http://jtauber.com/pinax/ Pinax Blog]
 +
*http://docs.huihoo.com/pinax/
 +
*http://download.huihoo.com/pinax/
 +
 +
{{Comment}}
 +
 +
[[Category:Django]]
 +
[[Category:Python]]

2011年1月16日 (日) 05:36的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Pinax Thanks, Wikipedia.

Pinax: a platform for rapidly developing websites

Pinax is an open-source collection of integrated, but reusable apps for the Django Web Framework.

目录

[编辑] Features

  • openid support
  • email verification
  • password management
  • site announcements
  • a notification framework
  • user-to-user messaging
  • friend invitation (both internal and external to the site)
  • a basic twitter clone
  • oembed support
  • gravatar support
  • interest groups (called tribes)
  • projects with basic task and issue management
  • threaded discussions
  • wikis with multiple markup support
  • blogging
  • bookmarks
  • tagging
  • contact import (from vCard, Google or Yahoo)
  • photo management

[编辑] Code

svn checkout https://svn.pinaxproject.com/pinax/trunk/ pinax

[编辑] Install

python scripts/pinax-boot.py /home/allen/pianx-env
source /home/allen/pianx-env/bin/active
cd /home/allen/pianx-env
bin/pinax-admin clone_project -l // get a list of available, 可创建不同类型的站点 
bin/pinax-admin clone_project social_project mysite
cd mysite
创建数据库 pinax
vim settings.py 配置数据库
python manage.py syncdb
python manage.py runserver 192.168.1.101:8000
http://192.168.1.101:8000

[编辑] PostgreSQL

#apt-get install python-psycopg2 
vi settings.py
DATABASE_ENGINE = 'postgresql_psycopg2'    # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = 'pinax'       
DATABASE_USER = 'postgres'            
DATABASE_PASSWORD = 'postgres'         
DATABASE_HOST = 'localhost'         
DATABASE_PORT = '5432'

[编辑] Nginx

[编辑] Integration

[编辑] Links

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱