@@ -7,15 +7,25 @@ dependencies. We also provide:
77
88* :gh_blob: `cms-test.sh `: This file uses :gh_blob: `docker-compose.test.yml ` to
99 spawn a volatile database (not persisted on disk) as well as a CMS instance
10- that automatically runs all tests.
10+ that automatically runs all unit tests and functional tests.
11+
12+ * :gh_blob: `cms-stresstest.sh `: Similar to `cms_test.sh ` but runs the stress
13+ tests instead of the unit tests. The stress test consists of: creating a
14+ database, populating it with some sample tasks, and then simulating some
15+ users logging in via ContestWebServer and repeatedly performing actions
16+ such as download task statements and submitting solutions.
1117
1218* :gh_blob: `cms-dev.sh `: This file uses :gh_blob: `docker-compose.dev.yml ` to
13- spawn a database (persisted in the local ``.dev/postgres-data `` folder
14- within the repository) as well as a CMS instance that only runs `bash `,
15- leaving you with a shell from where you can start cms services and servers.
16- The DB port and CMS server ports are also automatically forwarded on the
17- host machine (respectively to ``15432 `` for the database, and ``8888-8890 ``
18- for CMS).
19+ spawn a database (**persisted ** in the local ``.dev/postgres-data `` folder
20+ within the repository) as well as a CMS container that only runs `bash `,
21+ leaving you with a shell from where you can start cms services. Changes
22+ made in the repository are also reflected directly inside the container
23+ (the source code is mounted as a docker volume). The DB port and CMS server
24+ ports are also automatically forwarded on the host machine (respectively to
25+ ``15432 `` for the database, and ``8888-8890 `` for CMS), which allows you to
26+ access the CMS web server from your host machine, but that also means you
27+ can only use `./cms-dev.sh ` for one git branch at a time, as the ports are
28+ already in use.
1929
2030Make sure that you have a recent version of Docker installed, as well as Docker
2131Compose.
0 commit comments