This is an archived version of RiverID that is no longer actively used or developed. Please see CrowdmapID for it's successor.
Python JavaScript Shell
Latest commit af6af9f Mar 12, 2012 @evansims evansims Added optional mailfrom and mailsubject params for /changeemail and /…
…requestpassword. These override the defaults and allow for application-level customization. Closes #17
Permalink
Failed to load latest commit information.
api Added optional mailfrom and mailsubject params for /changeemail and /… Mar 12, 2012
cdn
config Comment out replication set for now. Feb 3, 2012
diagrams Added new architecture. Oct 3, 2011
doc
frontend
locale Corrected dir name. Sep 6, 2011
scripts The wget --no-check-certificate argument is unnecessary on Ubuntu. Feb 3, 2012
.gitignore Ignore *.pyc Sep 5, 2011
COPYING.txt Fixed licensing. Sep 2, 2011
README.md Updated Synopsis Feb 3, 2012

README.md

RiverID

Synopsis

RiverID is an authentication and identity management system that provides users with a secure central sign-on facility.

Architecture

Diagram

Application Load Balancer

Software

Deployment

  1. Run the installation script:
    wget -qO- https://raw.github.com/ushahidi/riverid/master/scripts/install-lb.sh | bash

  2. Edit the configuration file at the following location:
    /etc/nginx/sites-enabled/riverid

  3. Install the SSL certificate at the following location:
    /etc/nginx/ssl/riverid.in.crt

  4. Install the SSL key at the following location:
    /etc/nginx/ssl/riverid.in.key

  5. Load the new configuration:
    /etc/init.d/nginx reload

Application Cluster Node

Software

Deployment

  1. Run the installation script:
    wget -qO- https://raw.github.com/ushahidi/riverid/master/scripts/install-app.sh | bash

  2. Edit the configuration file at the following location:
    /var/www/riverid/api/config.py

  3. Load the new configuration:
    /etc/init.d/apache2 restart

MongoDB Replication Set Node

Software

Deployment

  1. Run the installation script:
    wget -qO- https://raw.github.com/ushahidi/riverid/master/scripts/install-mongo.sh | bash

  2. Whitelist the IP address of each Application Cluster Node and each other MongoDB Node. Replace 10.1.2.3 and repeat for each:
    iptables -I INPUT 1 -p tcp --dport 27017 -j ACCEPT -s 10.1.2.3

  3. After whitelisting the IP addresses, save the firewall configuration for restoration after reboot:
    iptables-save > /etc/firewall.conf

  4. Configure the Replication Set.

Content Delivery Network

  • http://c290918.r18.cf1.rackcdn.com/
  • https://c290918.ssl.cf1.rackcdn.com/

Documentation

Localisation

License

Support

See Also