Skip to content

mompm/angular-CYDRE

Repository files navigation

1. Introduction

This application is intended for the seasonal streamflow forecasting of rivers within watersheds located in crystalline geological contexts.

2. Installation

Clone the repo:

git clone https://github.com/mompm/angular-CYDRE.git

Go to the application folder:

cd cydre-angular

2.1. front-end Angular

Requirements :

Install Angular :

npm install -g @angular/cli
npm install primeng

You can check the installation with :

npm -v
node -v
ng v

Install the project packages and run the front server :

cd frontEnd/front
npm install
ng serve

Go to http://localhost:4200/ on a web Browser to see the result. You'll need to run api2.py (see the following section about python installation)

2.2. back-end Python

Requirements :

Create conda environment, install python requirements and activate the environment:

cd backEnd/install
conda env create -f cydre.yml
conda activate cydre

Create the environment variable:

python set_cydre_environment_variable.py

Create the MySQL database, the associated tables and default/admin users :

python create_database.py

Run the back-end server with api2.py :

python api2.py

For a standalone version : Go to the launcher folder and run application

cd backEnd/launchers
python run_cydre.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published