Revision 0bd9da3c2974e30705dd4b840c8bfa93c8d63ec2 authored by Parikshit Solunke on 27 June 2024, 20:32:02 UTC, committed by Parikshit Solunke on 27 June 2024, 20:32:02 UTC
1 parent fd6b06c
Raw File
install.sh
#!/bin/bash

# Exit immediately if a command exits with a non-zero status
set -e

# Create conda environment
echo "Creating conda environment..."
conda env create -n mountaineer -f requirements.yml
echo "Conda environment created successfully."

# Activate conda environment
# Note: To activate the conda environment in a script, source the conda.sh file first
echo "Activating conda environment..."
source $(conda info --base)/etc/profile.d/conda.sh
conda activate mountaineer
echo "Conda environment activated successfully."

# Clone the gale repository
rm -rf gale
echo "Cloning gale repository..."
git clone https://github.com/viguardieiro/gale
echo "Gale repository cloned successfully."

# Change to the gale directory
cd gale
echo "Changed directory to $(pwd)"

# Install the gale package
echo "Installing gale package..."
pip install .
echo "Gale package installed successfully."
cd ..

back to top