File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,18 @@ First, Clone the repository using GitHub website or git in Terminal
65651 . Install [ Docker] ( https://www.docker.com )
66662 . Run ` docker-compose up ` or ` docker-compose up -d `
6767
68+ ## Populate Challenge Data
69+
70+ PyGoat stores challenge definitions in ` challenge/challenge.json ` .
71+ To populate the ` Challenge ` table in the database from this file, use the
72+ built-in Django management command:
73+
74+ ### Using Docker Compose
75+
76+ ``` bash
77+ docker compose exec web python manage.py populate_challenges
78+
79+
6880# ## Build Docker Image and Run
69811. Clone the repository & ensp; ` git clone https://github.com/adeyosemanputra/pygoat.git`
70822. Build the docker image from Dockerfile using & ensp; ` docker build -f Dockerfile -t pygoat .`
You can’t perform that action at this time.
0 commit comments