Skip to content

Commit f176cc8

Browse files
authored
Improve contributing guide (#1130)
Latest MariaDB and shut down command.
1 parent 23eac7d commit f176cc8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

CONTRIBUTING.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Run the tests
1313

1414
.. code-block:: console
1515
16-
docker run --detach --name mariadb -e MYSQL_ROOT_PASSWORD=hunter2 --publish 3306:3306 mariadb:10.8
16+
docker run --detach --name mariadb -e MYSQL_ROOT_PASSWORD=hunter2 --publish 3306:3306 mariadb:11.6
1717
1818
3. Run the tests by passing environment variables with your connection parameters.
1919
For the above Docker command:
@@ -31,3 +31,9 @@ Run the tests
3131
DB_HOST=127.0.0.1 DB_USER=root DB_PASSWORD='hunter2' tox -e py313-django51 -- tests/testapp/test_cache.py
3232
3333
You can also pass other pytest arguments after the ``--``.
34+
35+
4. When you’re done, shut down the Docker container with:
36+
37+
.. code-block:: console
38+
39+
docker rm --force mariadb

0 commit comments

Comments
 (0)