Skip to content

Commit d7e9f98

Browse files
authored
Merge pull request #14426 from DefectDojo/bugfix
Release 2.56.0: Merge Bugfix into Dev
2 parents 597a1a8 + c745bb7 commit d7e9f98

79 files changed

Lines changed: 2654 additions & 395 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/update-sample-data.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,20 @@ jobs:
2424
run: |
2525
scripts/fixture-updater.py dojo/fixtures/defect_dojo_sample_data.json
2626
mv output.json dojo/fixtures/defect_dojo_sample_data.json
27+
./fixture-updater dojo/fixtures/defect_dojo_sample_data_locations.json
28+
mv output.json dojo/fixtures/defect_dojo_sample_data_locations.json
2729
2830
- name: Configure git
2931
run: |
3032
git config --global user.name "${{ env.GIT_USERNAME }}"
3133
git config --global user.email "${{ env.GIT_EMAIL }}"
3234
33-
- name: Create and switch to a new branch
34-
run: |
35-
git checkout -b update-file-$(date +%Y%m%d%H%M%S)
36-
git add dojo/fixtures/defect_dojo_sample_data.json
37-
git commit -m "Update sample data"
38-
39-
- name: Push branch
40-
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
run: |
43-
git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
44-
4535
- name: Create Pull Request
4636
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
4737
with:
4838
token: ${{ secrets.GITHUB_TOKEN }}
4939
commit-message: "Update sample data"
50-
branch: ${{ github.ref_name || 'dev'}}
40+
branch: update-sample-data
5141
base: dev
5242
title: "Update sample data"
5343
body: "This pull request updates the sample data."

README.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,19 @@ and reset every day. Do not put sensitive data in the demo. An easy way to test
4040
## Quick Start for Docker Compose
4141

4242
```sh
43-
# Clone the project
44-
git clone https://github.com/DefectDojo/django-DefectDojo
45-
cd django-DefectDojo
43+
git clone https://github.com/DefectDojo/django-DefectDojo && cd django-DefectDojo && docker compose up
44+
```
4645

47-
# Check if your installed toolkit is compatible
48-
./docker/docker-compose-check.sh
46+
This quick start guide will do the following
4947

50-
# Building Docker images
51-
docker compose build
48+
- Clone the repository and change directories
49+
- Start the application
50+
- Obtain admin credentials in the initializer logs. The first initialization can take up to 3 minutes to run.
5251

53-
# Run the application
54-
# (see https://github.com/DefectDojo/django-DefectDojo/blob/dev/readme-docs/DOCKER.md for more info)
55-
docker compose up -d
5652

57-
# Obtain admin credentials. The initializer can take up to 3 minutes to run.
58-
# Use docker compose logs -f initializer to track its progress.
59-
docker compose logs initializer | grep "Admin password:"
60-
```
53+
if running DefectDojo in detached mode via `docker compose up -d`, obtain admin credentials from the initializer logs with the command below. Please note, the initializer can take up to 3 minutes to run.
6154

55+
`docker compose logs initializer | grep "Admin password:"`
6256

6357
## Documentation
6458

@@ -70,6 +64,7 @@ docker compose logs initializer | grep "Admin password:"
7064
* [LDAP](https://docs.defectdojo.com/en/open_source/ldap-authentication/)
7165
* [Supported tools](https://docs.defectdojo.com/en/connecting_your_tools/parsers/)
7266
* [How to Write Documentation Locally](/docs/README.md)
67+
* [Development](readme-docs/DOCKER.md#run-with-docker-compose-in-development-mode-with-hot-reloading)
7368

7469
## Supported Installation Options
7570

docs/assets/images/pq_ss1.png

542 KB
Loading

docs/assets/images/pq_ss10.png

188 KB
Loading

docs/assets/images/pq_ss11.png

191 KB
Loading

docs/assets/images/pq_ss12.png

258 KB
Loading

docs/assets/images/pq_ss13.png

123 KB
Loading

docs/assets/images/pq_ss2.png

174 KB
Loading

docs/assets/images/pq_ss3.png

135 KB
Loading

docs/assets/images/pq_ss4.png

281 KB
Loading

0 commit comments

Comments
 (0)