Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single environment in Codespace and yml #51

Merged
merged 2 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading