Skip to content

Commit bdd0de2

Browse files
committed
Update docs
1 parent 9b2e93c commit bdd0de2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/InstructionsForDevelopers.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -406,14 +406,11 @@ If there is need for additional resources such as images, you may add them insid
406406

407407
### Add the exercise to the database
408408

409-
It is also necessary to add the template for the frontend in the folder exercises/templates/exercises.
410-
411-
Then, create the entry in database/exercise/db.sql. This can be achieved in 2 ways, changing it directly on the database or using Django Web Admin:
409+
To add a exercise to the database you must use Django Web Admin:
412410
1) Launch the docker as normal.
413411
2) Access http://127.0.0.1:7164/admin/ on a browser and log in with "user" and "pass".
414412
3) Click on "add exercise" and fill the required fields specified below.
415-
4) Open a shell in the universe_db docker: ```docker exec -it universe_db bash```
416-
4) Dump the changes using ```./scripts/saveDb.sh```
413+
4) Save the exercise clicking on the "Local Save" button.
417414

418415
An exercise entry in the database must include the following data:
419416
- ```exercise id```: unique exercise identifier, must match the folder name

0 commit comments

Comments
 (0)