Coder Social home page Coder Social logo

cpd_web's Introduction

License

Community Paleoseismic Database

CPD viewer

A 2D viewer based on Leaflet, an open-source JavaScript library for interactive maps, https://leafletjs.com, map data services from OpenStreetMap, https://www.openstreetmap.org, OpenTopoMap, https://www.opentopomap.org and leaflet esri plugin, https://esri.github.io/esri-leaflet, for Ersi basemap from ArcGIS and the CPD from https://www.scec.org/research/cpd.

Screen Capture

Website URL: https://www.scec.org/research/cpd-viewer/

CPD data service

Software stack at the backend server node when postgres and postgis are being built from source:

  • git
  • gcc
  • readline-develp
  • zlib-devel
  • json-c
  • autoconf
  • libxml2-devel
  • libtool
  • postgres version a10.5
  • proj5
  • gdal
  • postgis version 2.5.1
  • apache web server

Deployment

Deployment is accomplished using Docker with docker-compose. Clone the git repository and run the commands below for development or production deployment.

Development Deployment

  1. Run: docker-compose -f docker-compose.yml -f development.yml up -d
  2. After the build is complete, browse to http://localhost:8083
  3. The development.yml maps the code directory to the container for easy code development and exposes port 5432 for directly accessing the Postgres database.

Production Deployment

  1. Run: docker-compose -f docker-compose.yml up -d
  2. After build is complete, browse to http://server-name:8083
  3. Optionally, set up a reverse proxy from a URL on an existing web server to localhost:8083.

Layout

Server Side

Postgres/Postgis database
PHP scripts for accessing database
Apache web service to manage incoming
   and outgoing instruction/data

Client Side

JS scripts to process and manage data product
Html web page for graphics display and user dashboard

cpd_web's People

Contributors

meihuisu avatar

Watchers

 avatar  avatar  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.