02dc3ab7f5
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> |
||
---|---|---|
.. | ||
browserify.js | ||
browserSync.js | ||
clean.js | ||
cleanMaps.js | ||
data.js | ||
deploy.js | ||
development.js | ||
fonts.js | ||
gzip.js | ||
production.js | ||
protractor.js | ||
server.js | ||
styles.js | ||
test.js | ||
unit.js | ||
views.js | ||
watch.js |