GithubHelp home page GithubHelp logo

isabella232 / pearl-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developmentseed/pearl-backend

0.0 0.0 0.0 15.81 MB

PEARL (Planetary Computer Land Cover Mapping) Platform API and Infrastructure

License: MIT License

Dockerfile 0.25% Shell 0.85% Mustache 0.13% HCL 2.12% JavaScript 67.99% CSS 2.58% HTML 4.85% Python 19.96% Jupyter Notebook 1.26%

pearl-backend's Introduction

PEARL API & Infrastructure

image

PEARL is a landcover mapping platform that uses human in the loop machine learning approach. This repository contains the API and infrastructure to run the platform. The frontend is maintained at pearl-frontend.

Overview

PEARL infrastructure uses Kubernetes to manage resources and provide on-demand GPU support. The following is a high-level architecture. A websocket router manages available GPU/CPU and allocates them to clients.

pearl backend

This repository contains code for the api, gpu, socket and tiles services in the services directory. Code to deploy all the services and infrastructure on Azure can be found in the deployment directory. We have also included terraform resource definitions in deployment/terraform and a Helm chart in deployment/helm. The Helm chart is published separately at https://devseed.com/pearl-helm-chart and instructions for using the helm chart can be found here.

The machine learning components are documented here.

Development

Initial development can be bootstrapped by running all of the services via docker-compose

docker-compose up --build -d

This script will ensure that you have a postgres database set up, and will configure and start all necessary services locally for a fully functional dev environment

API Documentation

API documentation can be found by opening the following location in your browser file://<path-to-git-repo>/lulc-infra/api/doc/index.html

or ideally, once your development environment has been started, API documentation can be found by navigating to http://localhost:2000/docs.

Deployment and CI

Notes on deploy process and CI integration can be found here.

You can also helm to deploy directly onto a Kubernetes cluster. Instructions can be found here.

Note: This has currently been tested using AKS on Azure, but should ideally work on any Kubernetes cluster with minimal changes.

Debugging and Logs

Instructions for accessing the Grafana UI to inspect application logs can be found here

LICENSE

MIT

pearl-backend's People

Contributors

batpad avatar geohacker avatar ingalls avatar jvntf avatar martham93 avatar vgeorge avatar vincentsarago avatar willemarcel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.