Skip to content

Commit

Permalink
added docs for Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lucananni93 committed May 23, 2019
1 parent 26049b0 commit 49a559a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,28 @@ The doucumentation can be found at the following link: http://pygmql.readthedocs

[![Documentation Status](https://readthedocs.org/projects/pygmql/badge/?version=latest)](http://pygmql.readthedocs.io/en/latest/?badge=latest)

## Try the library
You can try the library without any previous setup using Binder.
## Docker image
If you want to run some of the examples provided in the example folder you can directly install the PyGMQL docker image.

[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/DEIB-GECO/PyGMQL/master?filepath=examples%2F00_Introduction.ipynb)
```
docker pull gecopolimi/pygmql
```

You can run the docker instance using the following command:
```
docker run --rm \
--name pygmql_instance \
-p <port>:8888 \
gecopolimi/pygmql
```

where you can set `<port>` to any free port number on your machine.
This will start a Jupyter Lab server which will run at the address
```
https://localhost:<port>
```

Inside the docker you will find the `example` folder containing both notebooks and scripts.

## Get in touch
You can ask questions or provide some feedback through our Gitter channel.
Expand Down

0 comments on commit 49a559a

Please sign in to comment.