/gping.io

gping.io

Primary LanguagePHPApache License 2.0Apache-2.0

gping.io Server

This is the open-source server software for gping.io.

The client (Android app) may be downloaded at Google Play.

Installation

Docker

If you're interested in running your own dev server we've tried to make setup as simple as possible by providing a set of containers. These collect all necessary configuration for local development and should make it trivial to get a functional production deployment.

For more detailed discussion of our container setup see docker/README.md. In summary, however, to get a dev environment running:

  1. Clone this repo
  2. Define GPINGIO_HOME to be the cloned directory
  3. $GPINGIO_HOME> ./docker/build.sh
  4. $GPINGIO_HOME> ./docker/db.sh
  5. $GPINGIO_HOME> ./docker/www.sh

You should now have an instance of the latest build running on localhost:8080. A brief discussion of the helper scripts used is here. If you're interested in running a production instance see this for the changes that shourd be made.

Apache

If you already have production Apache server ready to serve PHP files, you can always deploy the www/ directly under your htdocs. Don't forget to a2enmod rewrite in order to enable the one Apache module needed for gping.io.

Participate

Our community guidelines are outlined in the code of conduct.

  • Roadmap—Where we see GPing going and the large blocks of work that needs attention next.
  • Issues List—actionable tasks that need to be completed to reach some goal on our roadmap.
  • Forum—Ask questions to the community.

We also try to idle in the #gping.io IRC channel on Freenode.

Structure

Components of the project live loosely coupled under $GPING_HOME with related code grouped by directory.

  • db—DB schema and sample data
  • docker—container definitions and helper scripts around running dev setup
  • docs—various documentation; each major topic coordinated under topic.md
  • test—test code; not included in the deployed build but mounted in the dev container
  • www—website & backend; additional discussion in www docs