Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 1.49 KB

README.md

File metadata and controls

69 lines (48 loc) · 1.49 KB

OpenEOcraft

OpenEOcraft offers a robust R framework designed for the development and deployment of openEO API applications. This package simplifies the process of creating RESTful openEO web services with its user-friendly and flexible interface. Built on Plumber, OpenEOcraft prioritizes ease of use, scalability, and adaptability.

OpenEOcraft Architecture

Easy Deployment locally

If you have R installed and the relevant packages like plumber, sits, torch, jsonlite, etc, you can run the server locally. You first need to clone the repository via this command:

git clone https://github.com/Open-Earth-Monitor/openeocraft.git

then you can change to that directory

cd openeocraft

Run it using Rscript :

Rscript docker/server.R

Easy Deployment with Docker

If you want to change the source code then this approach is recommended. You first need to clone the repository via this command:

git clone https://github.com/Open-Earth-Monitor/openeocraft.git

then you can change to that directory

cd openeocraft

Run it :

docker-compose up

Run in detached mode :

docker-compose up -d

Shutting it down:

docker-compose down

Force restart and rebuild:

docker-compose up --build --force-recreate --no-deps -d

If there are new changes on the images or Dockerfiles:

docker-compose build --no-cache && docker-compose up