Tweak the wording a bit

This commit is contained in:
Mark Haines 2015-08-20 15:12:44 +01:00
parent bb9611bd46
commit fd88ea19c0

View File

@ -5,28 +5,28 @@ Before upgrading check if any special steps are required to upgrade from the
what you currently have installed to current version of synapse. The extra what you currently have installed to current version of synapse. The extra
instructions that may be required are listed later in this document. instructions that may be required are listed later in this document.
If you installed synapse in a virtualenv then active that virtualenv before If synapse was installed in a virtualenv then active that virtualenv before
upgrading. If synapse is installed in a virtualenv in ``~/.synapse/`` then run: upgrading. If synapse is installed in a virtualenv in ``~/.synapse/`` then run:
.. code:: bash .. code:: bash
source ~/.synapse/bin/activate source ~/.synapse/bin/activate
If you installed synapse using pip then upgrade to the latest version by If synapse was installed using pip then upgrade to the latest version by
running: running:
.. code:: bash .. code:: bash
pip install --upgrade --process-dependency-links https://github.com/matrix-org/synapse/tarball/master pip install --upgrade --process-dependency-links https://github.com/matrix-org/synapse/tarball/master
If you installed synapse using git then upgrade to the latest version by If synapse was installed using git then upgrade to the latest version by
running: running:
.. code:: bash .. code:: bash
# Pull the latest version of the master branch. # Pull the latest version of the master branch.
git pull git pull
# Update the versions of synapses python dependencies. # Update the versions of synapse's python dependencies.
python synapse/python_dependencies.py | xargs -n1 pip install python synapse/python_dependencies.py | xargs -n1 pip install