godojo is an installer for DefectDojo created as a much more powerful replacement for setup.bash. It provides a way to complete a 'server' install of DefectDojo. This is a traditional installation where DefectDojo is installed on the disk of a server/VM as part of the running OS.
godojo simplifies installing DefectDojo since the only thing needed to complete the install is the godojo binary. The installer handles pulling the requested version of the source code and any needed dependencies.
godojo supports the following types of installations:
The currently supported Linux distros and database configurations are listed here
godojo is developed targeting .deb (Debian) based distributions especially Ubuntu but should work on any Debian-based distro.
For information on starting DefectDojo after installing and upgrading an install done by godojo, see here
DefectDojo also supports other methods of installation that are not covered by godojo.
None, just download the most recent godojo release and either:
The defaults in dojoConfig.yml are pretty sane. All you really need to do is:
You can see all the configuration options with descriptions in the example config file.
Note: godojo is built with go version 1.16.3 (or newer)
$ sudo ./godojo
or
# ./godojo
If you don't have a dojoConfig.yml in the same directory as godojo (or this is your first install), one will be created for you:
$ sudo ./godojo
NOTE: A dojoConfig.yml file was not found in the current directory:
/home/example
A default configuration file was written there.
Please review the configuration settings, adjusting as needed and
re-run the godojo installer to begin the install you configured.
Once you have a dojoConfig.yml you're happy with, just run godojo:
sudo ./godojo
____ ____ __ ____ _
/ __ \___ / __/__ _____/ /_ / __ \____ (_)___
/ / / / _ \/ /_/ _ \/ ___/ __/ / / / / __ \ / / __ \
/ /_/ / __/ __/ __/ /__/ /_ / /_/ / /_/ / / / /_/ /
/_____/\___/_/ \___/\___/\__/ /_____/\____/_/ /\____/
/___/
version 1.1.1
Welcome to godojo, the official way to install DefectDojo on iron.
For more information on how goDojo does an install, see:
https://github.com/DefectDojo/godojo
==============================================================================
Starting the dojo install at Sun Apr 25, 2021 05:43:44 UTC
==============================================================================
==============================================================================
Determining OS for installation
==============================================================================
OS was determined to be Linux, Ubuntu:20.10
DefectDojo installation on this OS is supported, continuing
==============================================================================
Bootstrapping the godojo installer
==============================================================================
Bootstrapping...(-*--------)
Note: The above is a snippet of godojo in action. With Quiet set to 'false' you will see output for the various stages godojo completes with a progress bar for each part.