Email and Profile Config files now inside AACloud Folder Structure

This commit is contained in:
Luis Fernando Molina committed 2018-11-17 09:04:11 +01:00
1 parent 10e482b13d
commit 15d4e06a0f
3 files changed
+11 -8

No files matched your search

+3
View File
@@ -9,3 +9,6 @@ bin/*
*.cache
node_modules/*
exchange/Auth0.js
Email-Config/Email.Config.json
Execution.Config.json
User-Profile/User.Profile.json
+3 -3
View File
@@ -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;
+5 -5
View File
@@ -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",