842c167ce23a25a8240496d1eb18d6b3c889acb3
[openstack-build/horizon-build.git] / debian / README.compression
1 Until this can be scripted and integrated into package build, updating the
2 pre-compressed static CSS and JS requires a some manual steps:
3
4 1. apt-get install node-less.
5 2. Install dependencies of python-django-horizon.
6 3. Run 'python ./manage.py compress --force'
7 4. Currently, this will generate all compressed and compiled files plus a JSON
8    manifest in the static directoyr (static/dashboard/).
9 5. Remove the old, obsolete CS, JS and manifest from debian/static/openstack-dashboard.
10 6. Update the files in debian/static/openstack-dashboard with the new files.