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
1. Clone [this repository](https://code.hlrs.de/hpcrsaxe/spark_template) to your local machine:
1. Clone this repository to your local machine:
```bash
git clone <repository_url>
```
```bash
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:
```bash
./deployment_scripts/create-env.sh <your-env>
```
```bash
cd deployment_scripts
./create-env.sh <your-env>
```
3. Send all files using `deploy-env.sh`:

View file

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

View file

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