Use this guide to install Dradis Community Edition and get up and running in the Cloud9 IDE. Unlike a local installation, you won't be able to take this instance of Dradis offline. But, you'll have access to Dradis anywhere that has an internet connection.
Running Windows and don't have access to Kali Linux? Use Cloud9 to get up and running with Dradis with just your browser, and fast!
Sign up for a free account at Cloud9.
They have premium plans if you're interested in more workspaces or more diskspace. However, to launch and use Dradis, you can use their free account.
From your Cloud9 dashboard, click + Create a new workspace
Give your workspace a name (any name)
Optionally give your workspace a description
For this guide, we're going to be working with a Hosted workspace. Make sure to select either a Private or a Public workspace.
Enter the following value into the Clone from Git or Mercurial URL field:
https://github.com/dradis/dradis-ce.git
Under Choose a template, select the Ruby icon.
Click Create workspace
When your workspace is loaded, you'll be greeted by the following screen:
Run the following in the terminal at the bottom of your screen:
$ ./bin/setup
Run the following in the terminal at the bottom of your screen:
$ bundle install
Troubleshooting this step:
An error occurred while installing gem-name (1.0.0), and Bundler cannot continue
bash: bundle: command not found
$ gem install bundle
Run the following in the terminal at the bottom of your screen:
$ ./bin/setup
Troubleshooting this step: If you get an error message similar to "NoMethodError: undefined method `last_comment' for #<Rake::Application:0x007ff0cf37be38>"
, you can resolve it by inserting the following content in line #6 of your Rakefile
to bypass an issue with Rake version 11:
# temp fix for NoMethodError: undefined method `last_comment' # remove when fixed in Rake 11.x module TempFixForRakeLastComment def last_comment last_description end end Rake::Application.send :include, TempFixForRakeLastComment ### end of temfix
Run the following in the terminal at the bottom of your screen:
$ bundle exec rails server -p $PORT -b $IP
$ sudo service redis-server start
Navigate to the URL where Dradis is now running! The url requires your workspace name (dradis-ce in this example) and your Cloud9 username (rkorinek in this example). The url uses the following format: [WorkspaceName]-[Cloud9Username].c9users.io.
Example: https://[workspace]dradis-ce-rkorinek.c9users.io/
Configure the shared password by entering it and confirming it:
Troubleshooting this step: if you encounter an error message like ActionController::UrlGenerationError in HomeController#index
(pictured below) when you navigate to Dradis, go to
No route matches {:action=>"init", :controller=>"home"}/setup
in your browser.
Create a username, then enter the password you created in step #3:
You did it! You have now completed the installation process are are now running Dradis on Cloud9. Congratulations on making it all the way from git to running on the cloud! Dradis CE will be installed with some sample issues, and a Methodology and some Nodes with instructions designed to familiarize you with Dradis features and functionality.
Your email is kept private. We don't do the spam thing.