Skip to content

Commit 343d1e2

Browse files
Merge branch 'main' of https://github.com/IngeborgGjerde/graphnics into main
2 parents e5b8857 + de4248d commit 343d1e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![Pytest](https://github.com/IngeborgGjerde/graphnics/actions/workflows/main.yml/badge.svg)](https://github.com/IngeborgGjerde/graphnics/actions/workflows/main.yml)
22
[![Docker image](https://github.com/IngeborgGjerde/graphnics/actions/workflows/docker-image.yml/badge.svg)](https://github.com/IngeborgGjerde/graphnics/actions/workflows/docker-image.yml)
3+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/IngeborgGjerde/graphnics/HEAD?labpath=https%3A%2F%2Fgithub.com%2FIngeborgGjerde%2Fgraphnics%2Ftree%2Fmain%2Fdemo)
34

45
# Implementing network models in FEniCS
56

@@ -21,17 +22,17 @@ The environment is provided as a docker container. The container can be built an
2122
```shell
2223
git clone https://github.com/IngeborgGjerde/fenics-networks/
2324
cd fenics-networks
24-
docker build --no-cache -t fenics-networks .
25-
docker run --name networkfenics -v "$(pwd):/home/fenics/shared" -d -p 127.0.0.1:8888:8888 fenics-networks 'jupyter-notebook --ip=0.0.0.0'
25+
docker build --no-cache -t graphnics .
26+
docker run --name graphnics-container -v "$(pwd):/home/fenics/shared" -d -p 127.0.0.1:8888:8888 fenics-networks 'jupyter-notebook --ip=0.0.0.0'
2627
```
2728

2829
You can then enter the container by running
2930
```shell
30-
docker exec -it networkfenics /bin/bash
31+
docker exec -it graphncis-container /bin/bash
3132
```
3233
To connect it to a jupyter notebook, run
3334
```shell
34-
docker logs networkfenics
35+
docker logs graphnics-container
3536
```
3637
and enter the html-links it provides in your browser.
3738

0 commit comments

Comments
 (0)