Skip to content

Commit

Permalink
Updated to make using local_settings.py better supported/easier (#11)
Browse files Browse the repository at this point in the history
* Many minor edits/clean-ups

* Updated to handle upcoming changes in DefectDojo 2.0

* Updated to make using local_settings.py better supported/easier
  • Loading branch information
mtesauro authored May 23, 2021
1 parent 6d19fb0 commit 24d4ed9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion godojo.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
// Global vars
var (
// Installer version
ver = "1.1.2"
ver = "1.1.3"
// Configuration file name
cf = "dojoConfig.yml"
// Global config struct
Expand Down
4 changes: 2 additions & 2 deletions os.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ func createSettingsPy(id string, inst *config.DojoConfig, cmds *osCmds) {
// Create a settings.py for Dojo to use
cmds.id = id
cmds.cmds = []string{
"cp " + inst.Install.Root + "/django-DefectDojo/dojo/settings/settings.dist.py " +
inst.Install.Root + "/django-DefectDojo/dojo/settings/settings.py",
"ln -s " + inst.Install.Root + "/django-DefectDojo/dojo/settings " +
inst.Install.Root + "/customizations",
"chown " + inst.Install.OS.User + "." + inst.Install.OS.Group + " " + inst.Install.Root +
"/django-DefectDojo/dojo/settings/settings.py",
}
Expand Down

0 comments on commit 24d4ed9

Please sign in to comment.