Tell people to "source" the activate script for virtualenv, Remove --user from pip install
This commit is contained in:
parent
b993555bf4
commit
c3979b236e
|
@ -133,7 +133,7 @@ host with 512MB of RAM may run out of memory whilst installing Twisted. If this
|
||||||
happens, you will have to individually install the dependencies which are
|
happens, you will have to individually install the dependencies which are
|
||||||
failing, e.g.::
|
failing, e.g.::
|
||||||
|
|
||||||
$ pip install --user twisted
|
$ pip install twisted
|
||||||
|
|
||||||
On OSX, if you encounter clang: error: unknown argument: '-mno-fused-madd' you
|
On OSX, if you encounter clang: error: unknown argument: '-mno-fused-madd' you
|
||||||
will need to export CFLAGS=-Qunused-arguments.
|
will need to export CFLAGS=-Qunused-arguments.
|
||||||
|
@ -176,7 +176,7 @@ To actually run your new homeserver, pick a working directory for Synapse to run
|
||||||
(e.g. ``~/.synapse``), and::
|
(e.g. ``~/.synapse``), and::
|
||||||
|
|
||||||
$ cd ~/.synapse
|
$ cd ~/.synapse
|
||||||
$ ./bin/activate
|
$ source ./bin/activate
|
||||||
$ synctl start
|
$ synctl start
|
||||||
|
|
||||||
Troubleshooting Running
|
Troubleshooting Running
|
||||||
|
@ -211,7 +211,7 @@ The homeserver has a number of external dependencies, that are easiest
|
||||||
to install using pip and a virtualenv::
|
to install using pip and a virtualenv::
|
||||||
|
|
||||||
$ virtualenv env
|
$ virtualenv env
|
||||||
$ env/bin/activate
|
$ source env/bin/activate
|
||||||
$ python synapse/dependencies | xargs -i pip install
|
$ python synapse/dependencies | xargs -i pip install
|
||||||
$ pip install setuptools_trial mock
|
$ pip install setuptools_trial mock
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ IMPORTANT: Before upgrading an existing homeserver to a new version, please
|
||||||
refer to UPGRADE.rst for any additional instructions.
|
refer to UPGRADE.rst for any additional instructions.
|
||||||
|
|
||||||
Otherwise, simply re-install the new codebase over the current one - e.g.
|
Otherwise, simply re-install the new codebase over the current one - e.g.
|
||||||
by ``pip install --user --process-dependency-links
|
by ``pip install --process-dependency-links
|
||||||
https://github.com/matrix-org/synapse/tarball/master``
|
https://github.com/matrix-org/synapse/tarball/master``
|
||||||
if using pip, or by ``git pull`` if running off a git working copy.
|
if using pip, or by ``git pull`` if running off a git working copy.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue