EveryBlock源代码

原文地址:http://code.google.com/p/ebcode/

EveryBlock.com是一个基于“微社区”——邻里或城市网格,来展示信息的网站。网站的代码是开源的(2009年)。

Overview

为了便于读者理解,网站在开源时将源代码拆分为几个子包:

  • 首先,主要的一个包是发布系统,即ebpub.
  • 其次,ebdata及ebgeo包主要为用于处理数据和生成地图的Python模块.
  • 此外,ebinternal和everyblock包仅用于EveryBlock.com网站配置,但为了确保代码完整性,也放在此处.
  • 最后是ebblog和ebwiki包,提供了博客和维基功能。

Things you should know

在使用开源代码时应注意:

LICENSE — This code is Copyright 2007-2009 EveryBlock LLC and is made available to you under the GNU General Public License (GPL) version 3. To paraphrase, this means that if you distribute any changes, you must make them available under the same open-source license. Our documentation is licensed separately, under the Creative Commons Attribution-Share Alike 3.0 United States License. The Knight Foundation folks have requested we use these licenses.

开发语言框架 — 基于 Python, 采用 Django Web framework. 必须安装 PostgreSQLPostGIS.

Mailing list

可通过 ebcode mailing list 进行相关源代码交流.

以下是详细模块说明

ebpub

EveryBlock.com的发布系统,依赖于ebgeo模块

ebdata

各类数据获取模块或脚本,依赖于ebgeo, ebpub模块

ebgeo

各类地理/制图单元,提供 ebpub 使用

ebinternal

EveryBlock自有工具,依赖于everyblock模块

everyblock

EveryBlock.com的Python编码,区别于ebpub system,依赖于ebgeo, ebpub, ebdata模块

ebblog

基于Django的博客系统

ebwiki

基于Django的维基系统

PS:需要补充说明的是,目前已有研究者针对EveryBlock在2009年发布的源代码,建立了一个名为OpenBlock的项目组,网址为http://openblockproject.org/

原文地址:https://www.cnblogs.com/columbus2/p/2867228.html