Skip to content

cianyleow/facts-gui

Repository files navigation

FACTS

Final year project at Imperial College London.

GUI

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

Production Installation

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.

  1. Update the APT environment

  2. sudo apt-get update

  3. Install the necessary software for the Frontend to be installed.

  4. sudo apt-get install npm nodejs-legacy

  5. Clone the latest FACTS GUI repository and build it locally with NPM commands.

  6. git clone https://github.com/cianyleow/facts-gui

  7. cd facts-gui

  8. sudo npm install -g grunt bower

  9. npm install

  10. grunt dist

  11. Moved the distribution files to a production available location

  12. sudo cp -r dist /usr/share/nginx/html/facts

Releases

No releases published

Packages

No packages published