Skip to content

Commit

Permalink
Merge pull request #51 from festim-dev/single-env
Browse files Browse the repository at this point in the history
Single environment in Codespace and yml
  • Loading branch information
RemDelaporteMathurin authored Apr 18, 2024
2 parents b8a3a8d + ee520a4 commit e40bbd7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
7 changes: 3 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM mcr.microsoft.com/vscode/devcontainers/miniconda:0-3

RUN conda install -c conda-forge mamba
RUN mamba install -c conda-forge fenics
COPY environment.yml* .

RUN apt-get update && apt-get install -y libgl1
RUN conda env create -f environment.yml

RUN pip install festim==1.2.1 matplotlib meshio[all] ipykernel h-transport-materials==0.12.7 numpy==1.24
RUN apt-get update && apt-get install -y libgl1
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ You can [create a Codespace](https://github.com/codespaces/new?machine=standardL
```
git clone https://github.com/festim-dev/FESTIM-workshop
```
2. [Install FESTIM](https://festim.readthedocs.io/en/latest/getting_started.html)

3. Install dependencies
2. Create Conda environment (requires conda)

```
pip install -r requirements.txt
conda env create -f environment.yml
```
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.

0 comments on commit e40bbd7

Please sign in to comment.