Skip to content

Provitaonline/geoportal

Repository files navigation

Geoportal Provita

This project is the source for Provita's Geographical Information Portal.

Development environment

The site is based on the Gridsome Vue.js framework.

Development/deployment instructions

Prerequisites:

  • Node.js (version 14.21.3)

  • Gridsome (version 0.7.23)

  • Netlify CLI (version 10.16.0)

  • Clone the repository

  • npm install

  • Develop: npx netlify dev; runs a development server; to access the application, point your browser to: http://localhost:8888

  • Build: npx netlify build; the result is in the "dist" folder

Directory structure

data - Site content (JSON files in a Git submodule)

functions - Lambda functions used by the application

src - Source code (Gridsome application)

static - Static content copied directly onto "dist"
  images - Various images used in the app
  mapstyles - Mapbox-compatible style documents
  sound - Sounds used by the app (e.g., camera click)

Note: The data directory resides externally in a Git submodule

Licenses

The code is under MIT license. The site content (e.g., GIS datasets, maps) is under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).