Skip to content

Latest commit

 

History

History
81 lines (56 loc) · 1.82 KB

README.md

File metadata and controls

81 lines (56 loc) · 1.82 KB

Wetland Monitoring and Assessment Service for Transboundary Basins in Southern Africa (WeMAST2.0)

Description

A web application for monitoring wetlands in the four basins in the Southern Africa region: Cuvelai, Zambezi, Limpopo and Okavango.

Table of Contents

Installation

Prerequisites

  • Node.js
  • npm

Clone the Repository

git clone https://github.com/LocateIT/wemast_version2.git

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Usage

cd wemast_version2

Install Dependencies

npm install

Run application

npm run dev

Build for Production

npm run build

Lint with ESLint

npm run lint

Configuration

Create an .env file in the root directory with the following variables:

  • VITE_BASE_URL=/
  • VITE_DEFAULT_LOCALE=en
  • VITE_FALLBACK_LOCALE=fr
  • VITE_SUPPORTED_LOCALES=en,fr,pt
  • VITE_MAPBOX_API_KEY=your_api_key

Deployment

Deploy with Digital Ocean and Nginx. See Digital Ocean Documentation https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04

Acknowledgements