Skip to content

Commit

Permalink
added faq page
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelweinold committed Oct 31, 2023
1 parent 8cc5e50 commit 6a13fcf
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions source/content/faq/environment_management.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Environment Management

## How do I save my conda environment for later use?

```{admonition} Prerequisites
:class: important
1. A working installation of [Conda](https://docs.conda.io/en/latest/)
2. Basic knowledge of [Conda environments](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html)
```

Perhaps you have already created a Conda environment that you would like to use at a later point (a year after your current LCA project is finished, for example). You can save your environment to a file using the following command:

```{note}
Replace `<ENVIRONMENT_NAME>` with the name of the environment you want to save.
```

```bash
conda list -n <ENVIRONMENT_NAME> --export > ./environment.yml
```

This will create a file called `environment.yml` in your current working directory. You can then use this file to recreate the environment at a later point using the following command:

```bash
conda env create -f environment.yml
```
1 change: 1 addition & 0 deletions source/content/faq/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ maxdepth: 3
error_messages
brightway
data_management
environment_management
confusing_results
ecoinvent
simapro
Expand Down

0 comments on commit 6a13fcf

Please sign in to comment.