RETIRED, OpenStack Health Dashboard
Go to file
Tim Buckley 7cee0cfb40 Add JSONP support to REST endpoints.
JSONP is required to allow cross-origin API requests from
JavaScript clients. This adds the `flask-jsonpify` library to
support this additional request method, and uses it in all current
routes.

Change-Id: Ifb7d5abaa16cf165bfc763fec1189fdfb48a4b88
2015-09-16 11:50:19 -06:00
app Remove all remaining references to stackviz template. 2015-09-14 16:43:16 -06:00
doc/source Merge "Mockup of second page" 2015-09-16 15:52:27 +00:00
gulp Add `data` gulp task and automatically include `app/data` in dev builds if it exists. 2015-09-11 11:58:45 -06:00
openstack_health Add JSONP support to REST endpoints. 2015-09-16 11:50:19 -06:00
test Add Angular boilerplate from `angularjs-gulp-browserify-boilerplate` 2015-08-31 15:18:45 -06:00
.gitignore Remove all remaining references to stackviz template. 2015-09-14 16:43:16 -06:00
.gitreview Add .gitreview file 2015-09-14 15:58:27 -06:00
.jshintrc Add jshint configuration. 2015-09-02 15:49:18 -06:00
.testr.conf Add python bits to the repo 2015-09-14 19:06:08 -04:00
CONTRIBUTING.rst Rename to openstack-health 2015-09-14 14:16:34 -06:00
HACKING.rst Remove all remaining references to stackviz template. 2015-09-14 16:43:16 -06:00
LICENSE Add some missing base files from cookiecutter (LICENSE, manifest, setuptools config) 2015-08-03 09:11:51 -06:00
README.rst Rename to openstack-health 2015-09-14 14:16:34 -06:00
gulpfile.js Add Angular boilerplate from `angularjs-gulp-browserify-boilerplate` 2015-08-31 15:18:45 -06:00
package.json Pin karma package to 0.12 2015-09-15 10:53:51 -06:00
requirements.txt Add JSONP support to REST endpoints. 2015-09-16 11:50:19 -06:00
setup.cfg Add unit tests for rest api and fix docs 2015-09-15 23:39:20 -04:00
setup.py Add python bits to the repo 2015-09-14 19:06:08 -04:00
test-requirements.txt Add unit tests for rest api and fix docs 2015-09-15 23:39:20 -04:00
tox.ini Add unit tests for rest api and fix docs 2015-09-15 23:39:20 -04:00

README.rst

openstack-health

webclient for visualizing the results of tempest jobs.

Installation

Installation of the frontend requires Node.js and Gulp. On Ubuntu:

sudo apt-get install nodejs npm nodejs-legacy
sudo npm install -g gulp

Then, install the Node modules by running, from the project directory:

npm install

Usage - Development

A development server can be run as follows:

gulp dev

This will open a web browser and reload code automatically as it changes on the filesystem.

Usage - Production

The production application can be build using:

gulp prod

The result will be written to ./build and should be appropriate for distribution. Note that all files are not required:

  • Directory structure (js/, css/, fonts/, images/): required.
  • Static resources (fonts/, images/): required.
  • Core files (index.html, js/main.js, css/main.css): required unless gzipped versions are used.
  • Gzipped versions of core files (*.gz): not required, but preferred. Use instead of plain core files to save on disk usage and bandwidth.
  • Source maps (js/main.js.map, js/main.js.map.gz): only required for debugging purposes.