From 3ff9c8e6af46c6fda3d07489b3f156b2185f7300 Mon Sep 17 00:00:00 2001 From: Chakshu Date: Thu, 27 Feb 2020 09:57:36 +0100 Subject: [PATCH 1/4] Update package.json to add optional dependency --- chainkeeper_app/package.json | 3 +++ 1 file changed, 3 insertions(+) mode change 100755 => 100644 chainkeeper_app/package.json diff --git a/chainkeeper_app/package.json b/chainkeeper_app/package.json old mode 100755 new mode 100644 index 2b0a49c..9b8e2a7 --- a/chainkeeper_app/package.json +++ b/chainkeeper_app/package.json @@ -20,5 +20,8 @@ "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" + }, + "optionalDependencies": { + "fsevents": "^2.1.2" } } From 5811e2fc0e5dcdd4cb4809ab0b9bf38c1e482c41 Mon Sep 17 00:00:00 2001 From: Chakshu Date: Thu, 27 Feb 2020 09:58:11 +0100 Subject: [PATCH 2/4] Minor change in the Installation steps --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 197b43d..b5f93f7 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ ChainKeeper is a web application to explore and analyze block-chain data for use ### Installation ```sh -$ cd ChainKeeper -$ npm install +$ cd ChainKeeper/chainkeeper_app +$ npm install $ npm start ``` From 503cdc25f1f28db2506bff1a96f0410a9b0eb2ab Mon Sep 17 00:00:00 2001 From: Chakshu Date: Sun, 1 Mar 2020 23:07:51 +0100 Subject: [PATCH 3/4] Add requirements.txt file for the ChainKeeper API --- chainkeeper_api/requirements.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 chainkeeper_api/requirements.txt diff --git a/chainkeeper_api/requirements.txt b/chainkeeper_api/requirements.txt new file mode 100644 index 0000000..1a73faa --- /dev/null +++ b/chainkeeper_api/requirements.txt @@ -0,0 +1,2 @@ +Flask==1.1.1 +flask_cors==3.0.8 From 9bbbbd9295a804db577f3af5658a3f5d7bf75a1f Mon Sep 17 00:00:00 2001 From: Chakshu Date: Sun, 1 Mar 2020 23:16:46 +0100 Subject: [PATCH 4/4] Update README.md with installation steps --- chainkeeper_api/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chainkeeper_api/README.md b/chainkeeper_api/README.md index df8e9ec..9f5380c 100644 --- a/chainkeeper_api/README.md +++ b/chainkeeper_api/README.md @@ -2,6 +2,10 @@ API calls are available with CORS headers. More APIs will be added in soon. +##### Install Requirements + + - pip install -r requirements.txt + ##### Single Block Data - End Point - http://domain.com/blocksci/api/v5/block/$block_height