It seems that on a CI node, we just want to have approximately "pip
install stackviz" and have it "just work".
This makes "npm run prod" produce a .tar.gz appropriate for this.
Firstly, I have moved the gulp output to "gulp-build" rather than
"build" because "build" is generic and can get distutils confused.
Second, after building with gulp, we tack on a "setup.py sdist" call
to generate the final package.
Thirdly, the MANIFEST.in is updated to prune out unneeded files from
the final distribution. pbr is putting everything in git into the
manifest, but we can trim all all the nodejs source stuff. The
generated files in gulp-build are added to the manifest (since they're
generated, and not in git).
Finally, these are added via data-files as "share/stackviz-html". This
is essentially standalone and can be moved, or symlinked to as required.
The end result is that the .tar.gz created is installable on nodes an
contains everything required to run stackviz.
Documentation is updated.
Change-Id: I64cbc7e90bd2610733c9d5c6275cce99f2571883
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This removes `gulp-imagemin` and the image processing gulp task,
as well as `debowerify`, significantly reducing required
`npm install` time for a clean install.
Change-Id: I48e035c96cd616715da3b5c75b66b8d8a7616263
This adds a new Gulp task to automatically include `app/data` in
dev builds if it exists. This directory will contain sample data
files for use during development and outputs them to `build/data`.
Additionally, this integrates with browser-sync and will
automatically reload open browsers as testing datasets are
changed.
Change-Id: Ie1578682d11e36bd6142b9d326f50a547aa4613b
`index.html.gz` now links properly to gzipped resources allowing
them to be distributed unmodified and without the uncompressed
resources.
Change-Id: I253f5207de5b13a105dfb8ddd226d7da6ba2b34b
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate`
to start work on Angular rewrite of the frontend.
Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6