User interface for SIA event timeline
Перейти к файлу
Ying Zhao 81e22f32a1 with eslint 2018-02-07 17:16:08 -08:00
cfg clean up 2 2018-02-07 16:35:09 -08:00
dist tracking ajax calls 2018-02-05 13:21:33 -08:00
src with eslint 2018-02-07 17:16:08 -08:00
test Feature/filters autocomplete (#70) 2018-01-24 15:02:32 -08:00
.babelrc Istanbul coverage now includes all files (#67) 2018-01-18 13:41:49 -08:00
.deployment initial commit SIA event UI 2017-09-07 18:44:33 -07:00
.editorconfig initial commit SIA event UI 2017-09-07 18:44:33 -07:00
.gitignore Code Maintenance (#65) 2018-01-17 13:11:36 -08:00
.travis.yml Microsoft Teams hook for Travis (#72) 2018-01-24 13:55:01 -08:00
LICENSE Initial commit 2017-09-07 18:38:00 -07:00
README.md Code Maintenance (#65) 2018-01-17 13:11:36 -08:00
app.js Code Maintenance (#65) 2018-01-17 13:11:36 -08:00
deploy.cmd initial commit SIA event UI 2017-09-07 18:44:33 -07:00
jsconfig.json Code Maintenance (#65) 2018-01-17 13:11:36 -08:00
karma.conf.js Code Maintenance (#65) 2018-01-17 13:11:36 -08:00
package-lock.json Feature/filters autocomplete (#70) 2018-01-24 15:02:32 -08:00
package.json Feature/filters autocomplete (#70) 2018-01-24 15:02:32 -08:00
server.js Code Maintenance (#65) 2018-01-17 13:11:36 -08:00
webpack.config.js Code Maintenance (#65) 2018-01-17 13:11:36 -08:00

README.md

LICENSE Build Status Codacy Badge Coverage Status JavaScript Style Guide PRs Welcome

This is the user interface for SRE Incident Assistant (SIA)

See the Root repository for full project information.

SIA is built using:

SIA is configured for Wepback's hot module reloading, so changes should automatically appear in your browser.

Before You Start

You will need to add const files in config for each environment you want to use; these are not tracked in git. See cfg/constExample.js for more details. Const files follow the naming convention $env.const.js (localhost.const.js is the const file loaded by localhost.js, for example).

To start

  • Have Node.js installed (the latest LTS release is preferred)
  • Create a localhost.const.js file inside the cfg folder. Use the cfg/constExample.js file as a template.
  • Navigate to the SIA-EventUI source directory (the directory this file is in (README.md)) and enter these commands:
    • npm install
    • npm run serve
  • Navigate to http://localhost:3000

To start pointing at local API

  • Have Node.js installed (the latest LTS release is preferred)
  • Navigate to the SIA-EventUI source directory (the directory this file is in (README.md))
  • Start the gateway project and all dependencies by entering these commands:
    • npm install
    • npm start
  • Navigate to http://localhost:3000

To Test

  • Enter this command:
    • npm test

To create dist bundle, no server

webpack --env=dist