Platform Contributor Guide
Set up the developer environment for Ushahidi
Set up the developer environment for Ushahidi
  • Set up your developer-environment
    • Workflow for adding code
    • Setting up the API with Docker
    • Setting up the platform-client for development
  • Ushahidi Contributor Pages
  • Ushahidi User Manual
  • Back to Overview
Powered by GitBook
On this page
  1. Set up your developer-environment

Setting up the API with Docker

PreviousWorkflow for adding codeNextSetting up the platform-client for development

Last updated 1 year ago

The is a crucial component of the Ushahidi Platform, allowing users to interact with the system's data and perform various operations. This guide will walk you through the process of setting up the Ushahidi Platform API using Docker, a popular containerization platform that simplifies application deployment and management.

To get up and running, follow these steps:

  1. Clone the (if you plan to make contributions to Ushahidi, consider forking the repository before starting, more about that )

  2. Install

  3. Install command for the OS you use (parses Makefile)

  4. CD into the folder where the code is cloned

  5. Copy the text in .env.example into .env

  6. Run make start

Running The Platform API

The Platform API will run on port 8080 and if you type in in a web browser, you will see the default API response:

{"now":"2024-03-01T15:48:59+00:00"}

Now, lets move on to setting up the !

Ushahidi Platform API
code
here
Docker Engine
Make
http://localhost:8080/
Platform Web Client