Final year project at Imperial College London.
This section details the GUI development and any setup requirements.
Requires
- Node / NPM
- Bower
- JSHint (2.0+)
- Gulp
You must run at least npm install -g gulp bower jshint
and then run the below instructions from the root directory.
cd gui/
npm install && bower install
gulp default
Done with help from MHerman Blog
This installation guide is written for a Debian/Ubuntu based system. Specifically, an AWS Ubuntu 14.04 instance was used in June 2016, so please note that certain programs and commands may change over time.
Additionally, this guide must be used in conjunction with the FACTS guide, and is just the documentation to install the front end code.
-
Update the APT environment
-
sudo apt-get update
-
Install the necessary software for the Frontend to be installed.
-
sudo apt-get install npm nodejs-legacy
-
Clone the latest FACTS GUI repository and build it locally with NPM commands.
-
git clone https://github.com/cianyleow/facts-gui
-
cd facts-gui
-
sudo npm install -g grunt bower
-
npm install
-
grunt dist
-
Moved the distribution files to a production available location
-
sudo cp -r dist /usr/share/nginx/html/facts