All Projects → ushahidi → Platform Client

ushahidi / Platform Client

Licence: other
Ushahidi Platform Client, version 3+

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Platform Client

Remove W3schools
Chrome extension to remove W3Schools results in google searches.
Stars: ✭ 73 (-2.67%)
Mutual labels:  hacktoberfest
Remoto Desde Chile
Guías y recursos para trabajadores remotes desde Chile -- a.k.a el FAQ de #remoto
Stars: ✭ 74 (-1.33%)
Mutual labels:  hacktoberfest
Mattermost Integration Gitlab
GitLab Integration Service for Mattermost
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest
Navi
An interactive cheatsheet tool for the command-line
Stars: ✭ 10,055 (+13306.67%)
Mutual labels:  hacktoberfest
Dms Filter Bundle
Provides a FilterService for Symfony to allow users to implement input filtering in entities using Annotations
Stars: ✭ 74 (-1.33%)
Mutual labels:  hacktoberfest
Yii Web
Yii web components
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest
Captain Fact Frontend
🔎 CaptainFact - Frontend. The one you see on https://captainfact.io
Stars: ✭ 74 (-1.33%)
Mutual labels:  hacktoberfest
Shopware
Shopware 5 Repository - For Shopware 6 visit https://github.com/shopware/platform
Stars: ✭ 1,197 (+1496%)
Mutual labels:  hacktoberfest
Squareup
A sleek and modern startpage
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest
Parse Server Push Adapter
Official Push adapter for parse-server
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest
Reflectiondocblock
No description or website provided.
Stars: ✭ 8,910 (+11780%)
Mutual labels:  hacktoberfest
Pystdf
Python module for working with STDF files
Stars: ✭ 74 (-1.33%)
Mutual labels:  hacktoberfest
Crypto Touchbar
A script for BetterTouchTool which allows you to track to price of different cryptocurrencies on the touchbar.
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest
Tealdeer
A very fast implementation of tldr in Rust.
Stars: ✭ 1,189 (+1485.33%)
Mutual labels:  hacktoberfest
Colorechoforshell
Make 🐚(shell) 's 💬 (`echo`) to be 🌈 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest
Openjdk Tests
Home of test infrastructure for AdoptOpenJDK builds
Stars: ✭ 73 (-2.67%)
Mutual labels:  hacktoberfest
Awesome Flutter Layouts
Collection of cool Layouts built with Flutter to Inspire Other UI developers and explore the possibilities of Flutter.
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest
Django Helpdesk
A Django application to manage tickets for an internal helpdesk. Formerly known as Jutda Helpdesk.
Stars: ✭ 1,198 (+1497.33%)
Mutual labels:  hacktoberfest
Ebwiki
repository of police abuse cases against people of color
Stars: ✭ 73 (-2.67%)
Mutual labels:  hacktoberfest
Volume approximation
Practical volume computation and sampling in high dimensions
Stars: ✭ 75 (+0%)
Mutual labels:  hacktoberfest

Ushahidi Platform Web Client

Greenkeeper badge

Build Status Coverage Status Dependency Status


Report and find Ushahidi Platform V3 issues

All our issues live in https://github.com/ushahidi/platform/issues .

Try it out on Heroku

Deploy

You need to deploy the Platform API first

Platform Client installation

What is the platform client?

The web client is the component that end users interact with when opening the Platform website with a web browser. The client interacts with the API in order to perform operations on the system (i.e. submit posts, query posts).

Installation steps

Pre-requisite: Install the platform API by following one of the API setup guides

Pre-requisite: Install Node V6.x (you might want to use NVM for this) before continuing.

Getting the platform-client code

Clone the repository (this will create a directory named platform-client)

git clone https://github.com/ushahidi/platform-client.git

Go into the platform directory

cd platform-client

Switch to the develop branch

git checkout develop

If you haven't used git before or need help with git specific issues, make sure to check out their docs here https://git-scm.com/doc

Install the platform-client dependencies.

npm install

The client needs to point to the hostname where the backend expects to receive HTTP requests. This has to be set before building the client.

In order to set up all that, create a file at the location /var/www/platform-client/.env . Use the following contents as an example:

BACKEND_URL=http://192.168.33.110/
PORT=8000
APP_LANGUAGES=en
OAUTH_CLIENT_ID=ushahidiui
OAUTH_CLIENT_SECRET=35e7f0bca957836d05ca0492211b0ac707671261

To make it easy to call `gulp` when building and developing in the app, add node_modules/.bin to your PATH in ~/.bashrc. Example PATH (relevant part in bold):

export PATH=$HOME/bin:/usr/local/bin:node_modules/.bin:$PATH

gulp

alternatively, if you haven't setup node_modules in your PATH, run:

Running a local development server

Run:

node_modules/gulp/bin/gulp.js

This will start the watcher for local development, and any changes you make to the code will be reflected in the application.

Building for production deployments

Run:

gulp build

alternatively, if you haven't setup node_modules in your PATH, run:

node_modules/gulp/bin/gulp.js build

This will start the process of generating the static site. Once the files are generated, you can host the server/www directory and load the site.

In the server directory you will also find an example nginx and an example apache2 file to get you started on hosting the client.

Running unit tests

To run unit tests once, run:

gulp test

For test driven development we have a gulp task gulp tdd. This watches for JS changes and re-runs the unit tests.

Native Server (Apache or Nginx)

If you are running the client with a native web server like Apache or nginx, you will need to use URL rewriting to point all non-existant files to index.html. There is a sample .htaccess file, which can be used with Apache:

% cp server/rewrite.htaccess server/www/.htaccess

Nginx users will have to manually configure rewriting in the site configuration file.

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

Yes! Development moves pretty quickly but the tech stack is getting more and more stable. If you're keen to help build something awesome, jump on board.

Code of Conduct

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].