Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.


0

Administrator

--Administrator--
2504
|222
--Administrator--
Administrator
On7/2/17, 5:14 AM

I remove the quantumobject/docker-ushahidi container that refer to version 2.7.4 that include client and platform together (old version) , Please used the new  version 3 , for it you need to deploy the ushhidi-platform (quantumobject/docker-ushahidi-platform container ) and ushhidi-platform-client (quantumobject/docker-ushahidi-platform-client container) .

sincerely

Angel Rodriguez


  • Flag


0

Angel Rodriguez

--Angel Rodriguez--
1146
|213
Miami, FL, United States
--Angel Rodriguez--


Angel Rodriguez
On11/4/15, 5:26 PM

docker-ushahidi

Docker container for Ushahidi 2.7.4

"Make smart decisions with a data management system that rapidly collects data from the crowd and visualizes what happened, when and where."

note: quantumobject/docker-ushahidi container refer to version 2.7.4 that include client and platform together (old version) , for version 3 you need to deploy the ushhidi-platform (quantumobject/docker-ushahidi-platform container ) and ushhidi-platform-client (quantumobject/docker-ushahidi-platform-client container) .

Install dependencies

To install docker in Ubuntu 14.04 use the commands:

    $ sudo apt-get update

    $ wget -qO- https://get.docker.com/ | sh

To install docker in other operating systems check docker online documentation

Usage

If you need a MySQL database you can link container :

    $ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -e MYSQL_DATABASE=ushahidi \

-e MYSQL_USER=ushahidiuser -e MYSQL_PASSWORD=ushahidipasswd -d mysql

In case you want to used pre-existing mysql container , you can add the new database by connecting to it with docker exec -it some-mysql bash and manual adding ushahidi database or you can link and used quantumobject/docker-mywebsql to create database ushahidi and user ushahidiuser plus need to grant all permision of this user to the ushahidi database.

Them link to Ushahidi container:

    $ docker run -d -p xxxx:80 --link some-mysql:db quantumobject/docker-ushahidi

Where xxxxx is the port assigned by you for the container if not docker will assigned one for it.

Accessing the Ushahidi applications:

After that check with your browser at addresses plus the port assigined by docker or you:

  • http://host_ip:port/

Mysql info for web install:

  • - 'database' => 'ushahidi',

  • - 'user' => 'ushahidiuser',

  • - 'pass' => 'ushahidipasswd',

  • - 'host' => 'db',

Them after done with the final install at the web interface need to run this command for security :

    $ docker exec -it container_id after_install

To access the container from the server that the container is running :

    $ docker exec -it container_id /bin/bash

More Info

About Ushahidi: www.ushahidi.com

To help improve this container quantumobject/docker-ushahidi

For additional info about us and our projects check our site www.quantumobject.com

  • Flag

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, justuse the commenting tool. Please remember that you can alwaysrevise your answers - no need to answer the same question twice. Also, pleasedon't forget to vote - it really helps to select the best questions and answers!

Keep Informed

About This Community

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/4/15, 5:21 PM
Seen: 1188 times
Last updated: 7/2/17, 5:14 AM