Skip to content

Commit

Permalink
Fix a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Mar 20, 2018
1 parent 14f6324 commit 7f77872
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions doc/misc.rst
Expand Up @@ -38,7 +38,7 @@ Retrieve static (JS/CSS) dependencies::

npm install

or
or::

yarn

Expand Down Expand Up @@ -66,19 +66,19 @@ those long-running tasks. Start a worker by running::

celery worker -A relate -P eventlet

See `Related issue <https://github.com/celery/celery/issues/4178>`_ for more information.
See the `related issue <https://github.com/celery/celery/issues/4178>`_ for more information.

To make this work, you also need a message broker running. This uses the
setting ``CELERY_BROKER_URL`` in ``local_settings.py`` and defaults to
``'amqp://'``. With that setting, you need for example `Rabbit MQ
``'amqp://'``. With that setting, you need for example `RabbitMQ
<https://www.rabbitmq.com/>`_ or another implementation installed. On
Debian-like Linux distributions (e.g. Ubuntu), the following should suffice::

apt-get install rabbitmq-server

.. note::

To install Rabibit MQ for Windows, see `Installing on Windows
To install RabbitMQ for Windows, see `Installing on Windows
<https://www.rabbitmq.com/install-windows.html>`_ for more information.

See the `Celery documentation
Expand Down
6 changes: 3 additions & 3 deletions relate/checks.py
Expand Up @@ -327,21 +327,21 @@ def check_relate_settings(app_configs, **kwargs):
else:
if not os.path.isdir(git_root):
errors.append(RelateCriticalCheckMessage(
msg=("`%(path)s` connfigured in %(location)s is not a valid path"
msg=("`%(path)s` configured in %(location)s is not a valid path"
% {"path": git_root, "location": GIT_ROOT}),
id="git_root.E003"
))
else:
if not os.access(git_root, os.W_OK):
errors.append(RelateCriticalCheckMessage(
msg=("`%(path)s` connfigured in %(location)s is not writable "
msg=("`%(path)s` configured in %(location)s is not writable "
"by RELATE"
% {"path": git_root, "location": GIT_ROOT}),
id="git_root.E004"
))
if not os.access(git_root, os.R_OK):
errors.append(RelateCriticalCheckMessage(
msg=("`%(path)s` connfigured in %(location)s is not readable "
msg=("`%(path)s` configured in %(location)s is not readable "
"by RELATE"
% {"path": git_root, "location": GIT_ROOT}),
id="git_root.E005"
Expand Down

0 comments on commit 7f77872

Please sign in to comment.