Skip to content

bereactive/Lamu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ushahidi 3

Build Status

Download

What is Ushahidi 3.x?

Ushahidi is an open source web application for information collection, visualization, and interactive mapping. It helps collect data from many sources, including: email, SMS text messaging, Twitter streams, and RSS feeds. The platform offers tools to help process that information, categorize it, geo-locate it and publish it on a map.

Ushahidi 3.x is the next iteration of this tool, rebuilt from the ground up. Not only the code but the way in which we think about users interacting with mobile and social data. Crowdsourcing strategies have come a long way in the five years Ushahidi has been around and we've been fortunate enough to learn a lot from our global community.

Should I use Ushahidi 3.x for my new project?

We don't recommend it right now. The platform is not complete and there lots of bugs.

I'm a developer, should I contribute to Ushahidi 3.x?

We would love your help, but the platform is in heavy development with a rapid rate of change. If you're keen to help build something awesome, and happy to get deep into the core workings... then yes! Read about getting involved page. Most of our active development happens on the Ushahidi Phabricator. If you haven't used Phabricator before, read Phab Help after you sign up.

If you just want to fix a few bugs, or build a prototype on Ushahidi, you're probably better helping out on Ushahidi 2.x right now.

More info

Logging in the first time

The default install creates a user demo with password testing. This user has admin privileges. Once logged in this user can create further user accounts or give others admin permissions too.

Configuration

Base config files are in application/config/. You can add per-environment config overrides in application/config/environments/. The environment is switched based on the KOHANA_ENV environment variable.

Routes are configured in application/routes/default.php. Additional routes can be added in per-environment routing files ie. application/routes/development.php.

Extras

Vagrantfile

We've included a Vagrantfile and puppet manifests to help build a quick development box. Install Vagrant, then run vagrant up to get started!

Travis-CI

Unit and functional tests are run automatically by Travis-CI. See .travis.yml for config details.

Testing

See the 3.x Testing page.

We use PHPUnit for unit tests, and Behat and Mink for functional testing. You can install the Behat, Mink, PHPUnit and other required packages using Composer. Just run:

composer install

Behat and PHPUnit will be installed to bin/ at the root of the repository. Run the tests with:

bin/behat --config application/tests/behat.yml --format progress
bin/phpunit -c application/tests/phpunit.xml

Creating feature tests

Create your feature file in application/tests/features/, eg foo.bar.feature. You can run a single test with:

bin/behat --config application/tests/behat.yml application/tests/features/foo.bar.feature --format progress

Creating unit tests

Create your test file in application/tests/classes/Acme/, eg FooBarTest.php. You can run a single test with:

bin/phpunit -c application/tests/phpunit.xml application/tests/classes/Acme/FooBarTest.php

About

Ushahidi v3.x -

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE.md
AGPL-3.0
LICENSE-AGPL

Stars

Watchers

Forks

Packages

No packages published