Skip to content

Commit

Permalink
Rahti documentation update (#200)
Browse files Browse the repository at this point in the history
* Added instructions for dealing permissions errors on JYU windows

* Added a link to the installation guide for non-Poetry virtual envs

* Updated the Rahti hosting guide
  • Loading branch information
juropo authored Dec 18, 2024
1 parent 48d8ba8 commit ed4f786
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 52 deletions.
Binary file added docs/howtoguides/images/buildconfig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/howtoguides/images/buildstrategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions docs/howtoguides/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,20 @@ After installing poetry, we can use the following command to install DESDEO's de
poetry install -E "standard"
```

!!! Note

If you run into some permission errors while trying to install the dependencies (and you will on JYU managed Windows machine),
this is likely because you don't have the necessary permissions for the folder Poetry is using for caching. This can be fixed
by changing that folder by adjusting the associated environment variable: POETRY_CACHE_DIR.

If you are using conda to manage your virtual environments, you could for example put it in the folder associated with that
environment. On a JYU Windows machine the commands you would use are the following (assuming your env is called myenv)
```bash
conda env config vars set POETRY_CACHE_DIR=C:/devel/anaconda3/envs/myenv/poetry-cache
conda activate myenv
```
You need to reactivate the env to make sure that the changes to the environment variables are also applied for the current session.

!!! Note

If the `polars package complains about CPU architecture on your system when trying to run
Expand Down
Loading

0 comments on commit ed4f786

Please sign in to comment.