Creating advanced Dradis addons

Hi

I’ve been trying to create an addon similar to your Dread calculator for our custom CVSS scoring system but seem to have hit a brick wall, hopefully you can point me in the right direction.

I’ve cloned your GIT repo for your Dread calculator and imported it in to Dradis which all works but whenever I try to edit any of the assets (Javascript, CSS) the changes don’t get shown in the application. Is this to do with precompiling if so how do I get Dradis into development mode and force it to recompile the assets?

Any help is greatly appreciated.

Cheers,
Steve

Hi Steve,

You can compile your assets with:

$ bundle exec rake assets:precompile

But while you’re doing your testing I’d say, use the app in development mode as in dev, assets are loaded on the fly, so your latest changes will be available.

HTH,
Daniel

p.s. what edition of Dradis are you using?