Over the last month I have managed to develop a custom import plugin to assist with some internal tasks within my workplace. I have managed to get the plugin up and running within Dradis CE, however, I am having difficulties installing it within Dradis Pro.
Can anybody share some guidance/details/etc of how this can be done?
I have used the following instructions so far:
We recommend the following process to install your gem on your instance of Dradis Pro:
- Build the gem on your local system with the following command (for the sake of the example, I am assuming the gem is called dradis-NEW and is version 1.0.0):
cd [path to you local dradis-NEW folder]
gem build dradis-NEW.gemspec
2. Copy the dradis-NEW .gem file to
Add a line referencing your new gem. E.g.
Be very careful with copy/paste here. Email clients enjoy changing the single quotes to “fancy” quotes which will cause errors in Ruby.
Symlink both files by running the following as dradispro:
cd /opt/dradispro/dradispro/current/vendor/cache/ ln -s /opt/dradispro/dradispro/shared/addons/cache/dradis-NEW-1.0.0.gem
cd /opt/dradispro/dradispro/current/ ln -s /opt/dradispro/dradispro/shared/addons/Gemfile.plugins
$ RAILS_ENV=production bundle install --local --without development test
Re-start the app process:
$ god restart dradispro-unicorn
If the god restart doesn’t do the trick, try restarting your entire VM to force it to pick up the new code. (edited)
I can confirm that the gem is installed, however I do not see my custom plugin within the drop down list when I attempt to select it from the “Upload output from tool” option within Dradis Pro.
Any help would be greatly appreciated.
Thanks should also be mentioned to @rachkor who has got me up to this point so far.