Skip to content

Commit 7a68648

Browse files
authored
Update README.rst (#407)
Replacing docker-compose commands
1 parent b82ae56 commit 7a68648

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ You can manually use docker files to create images containing our services.
1515

1616
To run the infrastructure simply::
1717

18-
"OIOIOI_VERSION=<oioioi_version>" docker-compose up
18+
"OIOIOI_VERSION=<oioioi_version>" docker compose up
1919

2020
Make sure to change default superuser password, same as in the automatic method.
2121

2222
To start additional number of workers::
2323

24-
"OIOIOI_VERSION=<oioioi_version>" docker-compose up --scale worker=<number>
24+
"OIOIOI_VERSION=<oioioi_version>" docker compose up --scale worker=<number>
2525

2626
as described `in Docker docs`_.
2727

@@ -51,12 +51,12 @@ experimental features enabled.
5151

5252
Prepare the image with::
5353

54-
OIOIOI_UID=$(id -u) docker-compose -f docker-compose-dev.yml build
54+
OIOIOI_UID=$(id -u) docker compose -f docker-compose-dev.yml build
5555

5656
Then you can start oioioi with::
5757

58-
OIOIOI_UID=$(id -u) docker-compose -f docker-compose-dev.yml up -d
59-
OIOIOI_UID=$(id -u) docker-compose -f docker-compose-dev.yml exec web python3 manage.py runserver 0.0.0.0:8000
58+
OIOIOI_UID=$(id -u) docker compose -f docker-compose-dev.yml up -d
59+
OIOIOI_UID=$(id -u) docker compose -f docker-compose-dev.yml exec web python3 manage.py runserver 0.0.0.0:8000
6060

6161
to start the infrastructure in the development mode. Current dirrectory with the source code will be bound to /sio2/oioioi/ inside the running container.
6262

@@ -76,8 +76,8 @@ Running tests on Docker
7676
For testing purposes we use test.sh script located in oioioi directory. Note it's not the same directory
7777
you are connected to after using docker exec -it “web” /bin/bash. The default container id that you should use for running tests is "web"::
7878

79-
docker-compose -f docker-compose-dev.yml exec "web" ../oioioi/test.sh
80-
docker-compose -f docker-compose-dev.yml exec "web" ../oioioi/test.sh oioioi/{name_of_the_app}/
79+
docker compose -f docker-compose-dev.yml exec "web" ../oioioi/test.sh
80+
docker compose -f docker-compose-dev.yml exec "web" ../oioioi/test.sh oioioi/{name_of_the_app}/
8181

8282
Running static code analysis tools locally (requires Docker)
8383
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)