From a582535ef9dec72aa60d775202d31a8821376ae1 Mon Sep 17 00:00:00 2001 From: Shivang Vijay Date: Sun, 12 Mar 2023 02:11:06 +0530 Subject: [PATCH 1/2] With one step all the dependencies installed and updating README.md --- fri/README.md | 5 +++-- fri/requirements.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fri/README.md b/fri/README.md index f591bc2..b146465 100644 --- a/fri/README.md +++ b/fri/README.md @@ -4,9 +4,10 @@ The Control-Core File Receiving Interface (FRI) is built with is Python-3.10. It # Install Dependencies -Install Jupyter lab ```` -$ pip install jupyterlab +$ cd conore/fri + +$ pip3 install -r requirements.txt ```` # Running the FRI and a quick test. diff --git a/fri/requirements.txt b/fri/requirements.txt index 4ef52a1..8268e17 100644 --- a/fri/requirements.txt +++ b/fri/requirements.txt @@ -1,3 +1,4 @@ Flask gunicorn==20.1.0 FLASK_CORS +jupyterlab From 27452334f1d2ef84e6cdfc69926a6db0f4cbe1db Mon Sep 17 00:00:00 2001 From: Shivang Vijay Date: Sun, 12 Mar 2023 14:11:51 +0530 Subject: [PATCH 2/2] Resolve issue #63 --- fri/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fri/test.py b/fri/test.py index 7f29458..fe7e396 100644 --- a/fri/test.py +++ b/fri/test.py @@ -85,8 +85,8 @@ def download(dir, subDir, fileName , apikey ): time.sleep(2) build("test", "sample", "sample-anyname", "xyz") time.sleep(6) -method = input("methods - 1 for debug, 0 for run :") -if method == "1": +method = int(input("methods - 1 for debug, 0 for run :")) +if method == 1: debug("sample-anyname", "xyz") else: run("sample-anyname", "xyz")