There was an error while loading. Please reload this page.
1 parent 451148f commit a167a73Copy full SHA for a167a73
1 file changed
docker/README.md
@@ -33,3 +33,14 @@ Keycloak:
33
MariaDB:
34
* Root: `root`/`root`
35
* HotCRP: `hotcrp`/`hotcrppwd`
36
+
37
+# Running Tests
38
39
+On MacOS, poppler is required to run tests. You can install it with `brew install poppler`.
40
41
+```bash
42
+docker run --rm --name hotcrp-db -e MARIADB_ROOT_PASSWORD=root -p 3306:3306 -v ./docker/05-skipcache.cnf:/etc/mysql/mariadb.conf.d/05-skipcache.cnf mariadb:10.11
43
+lib/createdb.sh -u root -proot -h127.0.0.1 -c test/options.php --batch --grant-host='%'
44
+lib/createdb.sh -u root -proot -h127.0.0.1 -c test/cdb-options.php --no-dbuser --batch --grant-host='%'
45
+MYSQL_HOST=127.0.0.1 test/check.sh --all
46
+```
0 commit comments