From 15d4e06a0fe3e7e40806fe8330b8fad5984a4f54 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 17 Nov 2018 09:04:11 +0100 Subject: [PATCH] Email and Profile Config files now inside AACloud Folder Structure --- .gitignore | 3 +++ Run.js | 6 +++--- this.config.json | 10 +++++----- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 402b59b95..54bc08006 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ bin/* *.cache node_modules/* exchange/Auth0.js +Email-Config/Email.Config.json +Execution.Config.json +User-Profile/User.Profile.json diff --git a/Run.js b/Run.js index 937991c36..c0c86ad7c 100644 --- a/Run.js +++ b/Run.js @@ -49,7 +49,7 @@ function readStoragePermissions() { console.log( "[INFO] Run -> readStoragePermissions -> Entering function. "); let fs = require('fs'); - filePath = '../' + 'User-Profile' + '/' + 'User.Profile.json'; + filePath = './' + 'User-Profile' + '/' + 'User.Profile.json'; global.USER_PROFILE = JSON.parse(fs.readFileSync(filePath, 'utf8')); @@ -83,7 +83,7 @@ function readEmailConfiguration() { console.log( "Run : [INFO] readEmailConfiguration -> Entering function. "); let fs = require('fs'); - filePath = '../' + 'Email-Config' + '/' + 'Email.Config.json'; + filePath = './' + 'Email-Config' + '/' + 'Email.Config.json'; global.EMAIL_CONFIG = JSON.parse(fs.readFileSync(filePath, 'utf8')); readExecutionConfiguration(); @@ -98,7 +98,7 @@ function readExecutionConfiguration() { let filePath; try { let fs = require('fs'); - filePath = '../Execution-Config/Execution.Config.json'; + filePath = 'Execution.Config.json'; let executionProperties = JSON.parse(fs.readFileSync(filePath, 'utf8')); global.DEV_TEAM = executionProperties.devTeam; global.EXCHANGE_NAME = executionProperties.exchangeName; diff --git a/this.config.json b/this.config.json index 3a23977c8..d4a37b864 100644 --- a/this.config.json +++ b/this.config.json @@ -14,35 +14,35 @@ "repo": "AAMariam-Trading-Bot" }, { - "enabled": "true", + "enabled": "false", "devTeam": "AAMasters", "bot": "AACharly", "process": "Poloniex-Live-Trades", "repo": "AACharly-Extraction-Bot" }, { - "enabled": "true", + "enabled": "false", "devTeam": "AAMasters", "bot": "AACharly", "process": "Poloniex-Hole-Fixing", "repo": "AACharly-Extraction-Bot" }, { - "enabled": "true", + "enabled": "false", "devTeam": "AAMasters", "bot": "AABruce", "process": "One-Min-Daily-Candles-Volumes", "repo": "AABruce-Indicator-Bot" }, { - "enabled": "true", + "enabled": "false", "devTeam": "AAMasters", "bot": "AAOlivia", "process": "Multi-Period-Daily", "repo": "AAOlivia-Indicator-Bot" }, { - "enabled": "true", + "enabled": "false", "devTeam": "AAMasters", "bot": "AAOlivia", "process": "Multi-Period-Market",