- Single Page netcdf editor app can be found here: https://netcdf.osupytheas.fr/
- Multi Page Climate simulation tool can be found here: https://climate_sim.osupytheas.fr/
Checkout the Documentation for more info.
Images are automatically built using the github actions pipeline see https://github.com/CEREGE-CL/netcdf_editor_app/blob/main/.github/workflows/docker-image.yml these are automatically pushed to dockerhub and are therefore accesible for everyone: https://hub.docker.com/orgs/ceregecl/repositories
To deploy these locally you need to:
- Copy contents of docker-compose.yaml
- Replace
${NGINX_PORT}
by the desired port on the server / local machine - In
flask_app
andpanel_app
remove the env_file line and add the contents ofconfig/*.prod
into each correspondingenviroment
- run
docker-compose up --build -d
(you can scale workers with--scale python_worker=3
where python_worker is the name of the service in docker-compose)
Multipage stack images:
ceregecl/netcdf_editor_python_worker
ceregecl/netcdf_editor_flask_app
ceregecl/netcdf_editor_panel_app
ceregecl/netcdf_editor_message_dispatcher
ceregecl/netcdf_editor_nginx
Single page app:
ceregecl/netcdf_editor
The test suite uses pytest and coverage.
To run the tests either run
python -m pytest tests/
or:
coverage run -m pytest && coverage report