FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Skip to end of metadata
Go to start of metadata
On this page

 

 

This guide applies on the following platforms:

  • Ubuntu 10.04 TLS +
  • Debian 6.0 (Squeeze)

 

The SwiftRiver install process is: 

  • Install the required packages
  • Set up a MySQL database
  • Set up Solr
  • Set up Tomcat
  • Create the application directories
  • Build and deploy
  • Create the database tables
  • Set up the UI Client

Install the required packages

The following software packages must be installed on your system:

Install the API

  • Download and extract the API distribution
  • Stop your servlet container
  • Copy the API war to your webapps directory
  • Copy the sample context configuration file - config/swiftriver-api.xml - to <TOMCAT_HOME>/conf/Catalina/localhost and modify the default configuration parameters. The following is an example of the modified file:

     

    An explanation for each of the configuration parameters is provided below:

    ParameterDescription
    mqHostThe host running the RabbitMQ server
    mqUserUser to connect to RabbitMQ
    mqPasswordPasword for the user used to connect to RabbitMQ
    solr/serverURLURL of your Solr server
    solr/indexerPropertiesLocation of the properties file for the indexer - a background process that periodically updates Solr with the new drops
    indexer/lastDropIDPropKeyThe property key that specifies the ID of the last drop to be posted to Solr. This value serves as the reference point for fetching new drops
    indexer/batchSizePropKeyThe property key that specifies the maximum no. of drops to post to Solr during each run
    indexer/runIntervalThe property key that specifies how often (in ms) the indexer should check for new drops and update Solr
    authSchemeNameName of the authentication scheme. The possible values are database and crowdmapid
    crowdmapid/serverURLURL of the CrowdmapID deployment
    crowdmapid/apiKeyAPI key for authenticating requests to the CrowdmapID deployment specified in crowdmapid/serverURL
    crowdmapid/apiKeyParamNameName of the request parameter used to specify the api key when submitting a request to the CrowdmapID deployment
    mail/hostName/IP address of the mail server
    mail/senderAddressEmail address to be used when sending out emails
    mail/resetPasswordUrlURL to be used when sending the password reset link.
    mail/activateAccountUrlURL to be used for sending the account activation link; when a new account is created.

Create the Database

Create a new database called  swiftriver

 

Create a database user called swiftriver and grant them all the privileges on the swiftriver database.

 

Create the database tables by running the schema setup script - install/schema.sql

 

Configure Solr

Copy solr/solr.xml (from the API distribution) to your SOLR_HOME. The default solr.xml file looks like this:

 

Create a directory for the swiftriver core in SOLR_HOME

 

Copy the existing conf directory to the core director we have created above

 

Copy solr/schema.xml and solr/solrconfig.xml to the conf directory of the swiftriver core:

 

 

Configure Background Processes

 

Start your servlet container

 

 

 

  1. Hello, it'd be great to get the availability of a unique installation process as in any CMS like Joomla etc. that would be a cool way to quick spread the use of Swiftriver  Thank you.(smile)

  2. Has anyone installed SwiftRiver in Windows or Mac (Preferably windows)? It'd be great if we can get going on either of these systems.