Getting Review Board to Recreate Static Assets

2015-09-01 Thread Peter Williams
Review Board minifies it JS files into the follow location: reviewboard/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/htdocs/static/rb/js This can often be generated from a combination of JS files in:

Re: Getting Review Board to Recreate Static Assets

2015-09-01 Thread Christian Hammond
Hi Peter, You need to have node.js, lessc, and uglifyjs installed locally, and then you must repackage Review Board with your modification by checking out the source tree, modifying the file, and running: ./setup.py bdist_egg Can I ask what changes you're making? It's usually not in your

Re: Getting Review Board to Recreate Static Assets

2015-09-01 Thread Peter Williams
This ends up returning: running bdist_egg running egg_info running build_media Traceback (most recent call last): File "contrib/internal/build-media.py", line 20, in import pkg_resources File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2880, in working_set =

Re: Getting Review Board to Recreate Static Assets

2015-09-01 Thread Christian Hammond
Hi Peter, You'll need to have a complete dev environment going with Django and all other dependencies as well. This is best done in a virtualenv. You can create one and then install all dependencies: $ pip install virtualenv $ virtualenv ~/rb-build $ . ~/rb-build/bin/active.sh $