modify scripts for creating the environment

This commit is contained in:
Kerem Kayabay 2024-01-03 16:37:34 +01:00
parent 212441c516
commit bd2a9e7f33
3 changed files with 10 additions and 8 deletions

View file

@ -20,17 +20,18 @@ Before running the application, make sure you have the following prerequisites i
## Getting Started ## Getting Started
1. Clone [this repository](https://code.hlrs.de/hpcrsaxe/spark_template) to your local machine: 1. Clone this repository to your local machine:
```bash ```bash
git clone <repository_url> git clone <repository_url>
``` ```
2. Go into the directory and create an environment using Conda and environment.yaml. Note: Be sure to add the necessary packages in environment.yaml: 2. Go into the directory and create an environment using Conda and environment.yaml. Note: Be sure to add the necessary packages in environment.yaml:
```bash ```bash
./deployment_scripts/create-env.sh <your-env> cd deployment_scripts
``` ./create-env.sh <your-env>
```
3. Send all files using `deploy-env.sh`: 3. Send all files using `deploy-env.sh`:

View file

@ -21,5 +21,5 @@ else
# Create Conda environment # Create Conda environment
conda env create --name $CONDA_ENV_NAME -f environment.yaml conda env create --name $CONDA_ENV_NAME -f environment.yaml
echo "Conda environment '$CONDA_ENV_NAME' created." conda clean --all --force-pkgs-dirs
fi fi

View file

@ -3,6 +3,7 @@ channels:
- defaults - defaults
dependencies: dependencies:
- python=3.10 - python=3.10
- pip
- pip: - pip:
- ray==2.8.0 - ray==2.8.0
- dask==2022.10.1 - dask==2022.10.1