MarineSensitivity / server

server setup for R Shiny apps, RStudio IDE, R Plumber API, PostGIS database, pg_tileserv
MIT License
0 stars 0 forks source link

Deliverable 1. Setup software and review plan #3

Closed bbest closed 9 months ago

bbest commented 9 months ago

Setup: shared drive for data and documents; Zotero bibliography; Github repositories for versioning code and publishing html documents as well as project management with issues, milestones and roadmaps; and a virtual machine in a cloud provider using Docker for serving a spatial database (PostGIS), RStudio and Shiny applications.

bbest commented 9 months ago

Repositories

Here are the versioned code repositories created under github.com/MarineSensitivity:

  1. api application programming interface (API) using R Plumber package output: api.MarineSensitivity.org Screenshot 2023-10-26 at 1 02 05 PM\ More info..

  2. apps Shiny interactive applications output: shiny.MarineSensitivity.org/map

    Screenshot 2023-10-26 at 12 35 53 PM
  3. docs documentation for BOEM's offshore environmental sensitivity index products output: MarineSensitivity.org/docs

    image
  4. manuscripts Manuscripts with review of sensitivities by industry and receptors (species, habitats, human uses)

  5. MarineSensitivity.github.io default website output: MarineSensitivity.org

    image
  6. msens R library of functions for mapping marine sensitivities, sponsored by BOEM output: MarineSensitivity.org/msens

    image
  7. objectives repository for issues spanning multiple repositories and doing big picture roadmapping output: Management Github Project

    image
  8. server _server setup for R Shiny apps, RStudio IDE, R Plumber API, PostGIS database, pgtileserv output: see Server heading below

  9. workflows scripts for testing data analytics and visualization as well as production workflows output: MarineSensitivity.org/workflows

    image

Server

The server software is for setting up web services outside those of Github (e.g. serving website, docs and R package) using Docker (see the docker-compose.yml; with reverse proxying from subdomains to ports by Caddy):

  1. rstudio integrated development environment (IDE) to code and debug directly on the server

    More...

  2. shiny interactive applications e.g., shiny.marinesensitivity.org/map

    Screenshot 2023-10-26 at 12 35 53 PM

    More...

  3. pgadmin PostGreSQL database administration interface

    Screenshot 2023-10-26 at 12 42 46 PM

    More...

  4. api custom API: using R plumber

    Screenshot 2023-10-26 at 1 02 05 PM

    More...

  5. swagger generic database API: using PostGREST

    Screenshot 2023-10-26 at 1 02 05 PM

    More...

  6. tile _spatial database API: using pgtileserv for serving vector tiles

    Screenshot 2023-10-26 at 1 46 00 PM

    More...

Please also see Server Setup on AWS as EC2 instance at allocated IP address 100.25.173.0.

bbest commented 9 months ago

Note: changed MarineSensitivities -> MarineSensitivity