igdb/README.md

1.2 KiB

IGDB: Internation Glacier Database

The IGDB is a database, that uses data from the WGMS to illustrate the consequences of climate change.

Our system allows you to visualize data with tables and plots, via our intuitive Web UI.

Table

Plot

Technologies used

  • Flask
  • SQLAlchemy
  • Pandas

Requirements

  • Python3
  • POSIX shell
  • Pip
  • Pipenv
  • MySQL/MariaDB

Installation

  1. Clone the repository:
git clone https://coolneng.duckdns.org/gitea/coolneng/igdb
  1. Change the working directory to the project:
cd igdb/code
  1. Install the dependencies:
pipenv install

All the dependencies will be installed inside a virtualenv.

Usage

  1. Start a shell inside the virtualenv:
pipenv shell
  1. Start the Flask server:
flask run
  1. When prompted for a password, insert your MySQL/MariaDB root password

The database will be created and populated automatically, if needed, each time the server is executed

  1. The website can be accessed via localhost:5000