Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
client/data/
*.pyc

19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,20 @@ Front end: Angular

# How to install this application

cloned the branch named gloriaRules
Clone the branch named gloriaRules

in the folder obs-rules run: nodemon ./bin/www
You will need the following libraries installed:
1. node v10.15.3. We have initial tests on Node v16.6.2
2. npm 7.11.0. We have initial tests on npm 7.20.3
3. python 3.7

To install node dependencies:
1. `npm ci`

To run the frontend and backend applications:

1. set in a .env file the needed environment variables
2. `npm start start-nodemon`

Once the application is running validate in your browser that everything is working:

Expand All @@ -41,7 +52,3 @@ The scripts used to plot positioning bar charts, ego-networks and full-graphs ar

From the Nodejs application there is a called to the pythons scripts. See server/routes/visualisation.js function bringGraph. The script outcome is eather a bar graph or a graph with some narrative. The visual outcomes are plot in the front see client/views/timeLineRules.html, specifically in the div named graphs.





4 changes: 2 additions & 2 deletions client/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ app.controller('manageVis', function($scope, $location, $routeParams, $http, soc
var dataObj = {
id_session : $scope.sessionid
};
$http.post('/api/v1/visualisations/getDataforVis',dataObj)
$http.post('/api/v1/visualisations/getDataforVis', dataObj)
.success(function(data){
$http.post('/api/v1/visualisations/generateJson2', data)
.success(function(objs){
Expand Down Expand Up @@ -1698,4 +1698,4 @@ app.controller('actionsessionController', function($scope, $location, $routePara
$location.url('/rules');
};

}); //end controller
}); //end controller
71 changes: 0 additions & 71 deletions node_modules/.bin/acorn

This file was deleted.

184 changes: 0 additions & 184 deletions node_modules/.bin/cleancss

This file was deleted.

Loading