Skip to content
Snippets Groups Projects
Commit 5de8115f authored by Alex Rojas's avatar Alex Rojas
Browse files

updated build-env.sh and run.sh

parent 01dc2370
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,11 @@ ...@@ -2,12 +2,11 @@
# source activate base # source activate base
basedir=$( cd "$(dirname "$0")" ; pwd -P) basedir=$( cd "$(dirname "$0")" ; pwd -P)
conda env list
echo installing environment... echo installing environment...
conda env create -f ${basedir}/environment.yml mamba env create -f ${basedir}/environment.yml
# Install the maap.py environment # Install the maap.py environment
conda activate osgeo-env source activate osgeo-env
git clone --single-branch --branch v3.0.1 https://github.com/MAAP-Project/maap-py.git ${basedir} git clone --single-branch --branch v3.0.1 https://github.com/MAAP-Project/maap-py.git ${basedir}
cd ${basedir}/maap-py cd ${basedir}/maap-py
pip install -e . pip install -e .
...@@ -197,9 +197,9 @@ ...@@ -197,9 +197,9 @@
], ],
"metadata": { "metadata": {
"kernelspec": { "kernelspec": {
"display_name": "osgeo-env-v1", "display_name": "Python 3 (ipykernel)",
"language": "python", "language": "python",
"name": "osgeo-env-v1" "name": "python3"
}, },
"language_info": { "language_info": {
"codemirror_mode": { "codemirror_mode": {
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.11.4" "version": "3.10.8"
} }
}, },
"nbformat": 4, "nbformat": 4,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
basedir=$( cd "$(dirname "$0")" ; pwd -P) basedir=$( cd "$(dirname "$0")" ; pwd -P)
# Activate environment that was created in the builed-env.sh file # Activate environment that was created in the builed-env.sh file
source activate osgeo-env-v1 source activate osgeo-env
# Create output dir # Create output dir
OUTPUTDIR="${PWD}/output" OUTPUTDIR="${PWD}/output"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment