We need mamba to install the requirements.
Use your existing mamba or install it from here:
https://github.com/conda-forge/miniforge
Get the source:
git clone https://github.com/FREVA-CLINT/duck.git
cd duckCreate the conda environment for duck:
mamba env createActivate the duck environment:
conda activate duckInstall duck in this environment:
pip install -e .Start your duck as a web service:
duck start -dSee it is responding by sending a WPS GetCapabilities request:
http://localhost:5000?service=WPS&request=GetCapabilities
You can stop the service with:
duck stopYou need to start your service with the hostname and IP address to be accessible from outside.
Example:
duck start --hostname smartduck.lake.earth -b 194.100.0.10Check if it is running:
duck statusCheck access:
http://smartduck.lake.earth:5000?service=WPS&request=GetCapabilities
Stop it:
duck stop