Skip to content

Commit 7702b57

Browse files
committed
Merge branch 'master' of github.com:OpenMined/PyDentity
2 parents 71e1af0 + 9082b14 commit 7702b57

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+10849
-41
lines changed

.DS_Store

0 Bytes
Binary file not shown.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ This project is written in Python and is displayed in jupyter notebooks.
1919

2020
You need to install:
2121
1. [Docker](https://docs.docker.com/get-docker/)
22-
1. The **source-to-image** (s2i) tool is also required to build the docker images used in the demo. S2I can be downloaded [here](https://github.com/openshift/source-to-image). The website gives instructions for installing on other platforms like MACOS, Linux, Windows.
22+
2. [docker-compose](https://docs.docker.com/compose/install/)
23+
3. The **source-to-image** (s2i) tool is also required to build the docker images used in the demo. S2I can be downloaded [here](https://github.com/openshift/source-to-image). The website gives instructions for installing on other platforms like MACOS, Linux, Windows.
2324
Verify that **s2i** is in your PATH. If not, then edit your PATH and add the directory where **s2i** is installed. The **manage** script will look for the **s2i** executable on your PATH. If it is not found you will get a message asking you to download and set it on your PATH.
2425
- If you are using a Mac and have Homebrew installed, the following command will install s2i: `brew install source-to-image`
2526
- If you are using Linux, go to the [releases](https://github.com/openshift/source-to-image/releases/latest) page and download the correct distribution for your machine. Choose either the linux-386 or the linux-amd64 links for 32 and 64-bit, respectively. Unpack the downloaded tar with `tar -xvf "Release.tar.gz"`
@@ -93,4 +94,4 @@ A real life use case of SSI developed as part of an NHS INTEROpen hackathon.
9394

9495
### [Single Agent](./project/single-agent)
9596

96-
This spins up a single agent (with attachment capability) pointing to the Sovrin StagingNet and publicly exposed using Ngrok. It includes an associated notebook. Our thought is you could use this to experiment with interoperability of other aries agents. For example aca-pico.
97+
This spins up a single agent (with attachment capability) pointing to the Sovrin StagingNet and publicly exposed using Ngrok. It includes an associated notebook. Our thought is you could use this to experiment with interoperability of other aries agents. For example aca-pico.

dockerfiles/controllers/Dockerfile.attachmentcontroller

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ RUN apt-get update && apt-get install -y gcc
99
# RUN conda install jupyter notebook=5.7.8
1010
RUN conda install jupyter notebook=6.1.5
1111

12-
1312
ADD libs/attachment-controller attachment-controller
1413

1514

projects/aries-fl/.DS_Store

6 KB
Binary file not shown.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
FROM continuumio/miniconda3
2+
3+
ENV WORKSPACE /workspace
4+
5+
ARG jupyter_port
6+
ENV env_jupyter_port=jupyter_port
7+
8+
# Setup workspace environment
9+
RUN apt-get update && apt-get install -y gcc
10+
# RUN conda install jupyter notebook=5.7.8
11+
RUN conda install jupyter notebook=6.1.5
12+
13+
14+
ADD projects/aries-fl/requirements.txt .
15+
16+
#
17+
# .
18+
RUN pip install -r requirements.txt
19+
20+
#RUN pip install aiohttp
21+
#RUN export PYTHONPATH="$PYTHONPATH:/aries_basic_controller"
22+
#ENV PYTHONPATH "${PYTHONPATH}:/aries_basic_controller"
23+
#RUN export JUPYTER_PATH="$JUPYTER_PATH:/aries_basic_controller"
24+
# Create jupyter notebook workspace
25+
#RUN mkdir $WORKSPACE
26+
WORKDIR $WORKSPACE
27+
28+
29+
# Make the image start the jupyer notebook
30+
COPY scripts/jupyter-entrypoint.sh /entrypoint.sh
31+
RUN chmod +x /entrypoint.sh
32+
33+
34+
35+
36+
37+
# ENTRYPOINT ["/entrypoint.sh", "$env_jupyter_port"]
38+
ENTRYPOINT ["/entrypoint.sh", "8888"]
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
FROM continuumio/miniconda3
2+
3+
ENV WORKSPACE /workspace
4+
5+
ARG jupyter_port
6+
ENV env_jupyter_port=jupyter_port
7+
8+
# Setup workspace environment
9+
RUN apt-get update && apt-get install -y gcc
10+
# RUN conda install jupyter notebook=5.7.8
11+
RUN conda install jupyter notebook=6.1.5
12+
13+
14+
ADD projects/aries-fl/requirements.txt .
15+
16+
#
17+
# .
18+
RUN pip install -r requirements.txt
19+
20+
#RUN pip install aiohttp
21+
#RUN export PYTHONPATH="$PYTHONPATH:/aries_basic_controller"
22+
#ENV PYTHONPATH "${PYTHONPATH}:/aries_basic_controller"
23+
#RUN export JUPYTER_PATH="$JUPYTER_PATH:/aries_basic_controller"
24+
# Create jupyter notebook workspace
25+
#RUN mkdir $WORKSPACE
26+
WORKDIR $WORKSPACE
27+
28+
29+
# Make the image start the jupyer notebook
30+
COPY scripts/jupyter-entrypoint.sh /entrypoint.sh
31+
RUN chmod +x /entrypoint.sh
32+
33+
34+
35+
36+
37+
# ENTRYPOINT ["/entrypoint.sh", "$env_jupyter_port"]
38+
ENTRYPOINT ["/entrypoint.sh", "8888"]

projects/aries-fl/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Federated Learning over DIDComm
2+
3+
4+
5+
# Guide
6+
7+
![Full Aries Scenario](figures/initialidea.png)
8+
9+
10+
11+
# Created by
12+
13+
Will Abramson (wip-abramson)
14+
Adam James Hall (H4LL)
15+
Pavlos Papadopoulos (pavlos-p)

0 commit comments

Comments
 (0)