Skip to content
danieleio edited this page Sep 6, 2011 · 3 revisions

CityGroups - Installation

PRE-ALPHA
On the web: http://citygroups.org CityGroups is a public directory of community groups for your city.


What & Why

Connecting community organizers with community groups to improve cities.

In cities across the country, there is amazing work being done by community organizers to mobilize their neighbors and take on community problems.

CityGroups is a searchable public directory which allows community organizers and residents to find community groups so that they can work together.

Like a wiki, city staffers and community members can contribute and retrieve the data in the system. The goal is to promote and assist smaller, less-visible groups who do important work but require modern tools to publicize it.

CityGroups will help them work together and work better.

Installation

CityGroups is built with Drupal. CityGroups is an install profile. "Data-Wiki" is the backend & is a collaborative data collection platform.

Requirements

LAMP stack (or MAMP, XAMP etc.) MYSQL database

1. Create your database in MYSQL.
2. Download DataWiki codebase. (https://github.com/codeforamerica/CityGroups)
   (You can either download and unzip it, or clone it from github if you have git installed on your server.)
3. The DataWiki codebase goes in your web server.
4. Visit the path of your server. You should be able to install it. Depending how you do your settings.php, you may need to visit yoursite/install.php

   You install this like you would any normal Drupal site, except that
   you will select "CityGroups" as the Install Profile on the install page.
5. Follow the prompts.

Development

The project is under active development this summer and yes, if you would like this in your city, drop us a line.

Github

Instructions are hosted here: https://github.com/codeforamerica/CityGroups Codebase is hosted here: https://github.com/codeforamerica/Data-Wiki
Contact: chacha @ codeforamerica dot org.

Getting the Git Repository

Install Git: This is a good resource:
http://book.git-scm.com/2_installing_git.html

Cloning the Github repository:

In terminal:
(This assumes git is installed- see below)

$ git clone https://github.com/codeforamerica/Data-Wiki.git
$ cd Data-Wiki
$ git fetch 
$ git checkout --track -b citygroups_boston origin/citygroups_boston

Pushing changes to Github:

How to switch to the citygroups_boston branch on Github.com:

  • In the top-left hand corner (just below the "Source" tab") there is a dropdown called "Switch Branches".
  • Citygroups_Boston is the top option in that menu

Useful Git commands: Git Cheat Sheet from Github:
http://help.github.com/git-cheat-sheets/


To set up LAMP Stack (required for Drupal):

http://library.linode.com/lamp-guides/ubuntu-10.04-lucid


System Architecture/Assets: Github Repository (Data-Wiki) EC2 Instance (where database is there)