-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d4cc0f
commit a08a8f8
Showing
6 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
|
||
umask 0002 | ||
|
||
# Copy settings.py (settings.py copied to allow for legacy installs and customizations) | ||
cd /app | ||
TARGET_SETTINGS_FILE=dojo/settings/settings.py | ||
if [ ! -f ${TARGET_SETTINGS_FILE} ]; then | ||
echo "Creating settings.py" | ||
cp dojo/settings/settings.dist.py dojo/settings/settings.py | ||
fi | ||
|
||
while ping -c1 initializer 1>/dev/null 2>/dev/null | ||
do { | ||
echo "Waiting for initializer to complete" | ||
sleep 3 | ||
} | ||
done; | ||
echo "Starting DefectDojo: http://localhost:8000" | ||
|
||
python manage.py runserver 0.0.0.0:8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters