Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
33cf4811
Commit
33cf4811
authored
10 years ago
by
Mark Haines
Browse files
Options
Downloads
Patches
Plain Diff
Tell people to "source" the activate script for virtualenv, Remove --user from pip install
parent
e709d619
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+7
-7
7 additions, 7 deletions
README.rst
with
7 additions
and
7 deletions
README.rst
+
7
−
7
View file @
33cf4811
...
@@ -121,19 +121,19 @@ you get errors about ``error: no such option: --process-dependency-links`` you
...
@@ -121,19 +121,19 @@ you get errors about ``error: no such option: --process-dependency-links`` you
may need to manually upgrade it::
may need to manually upgrade it::
$ sudo pip install --upgrade pip
$ sudo pip install --upgrade pip
If pip crashes mid-installation for reason (e.g. lost terminal), pip may
If pip crashes mid-installation for reason (e.g. lost terminal), pip may
refuse to run until you remove the temporary installation directory it
refuse to run until you remove the temporary installation directory it
created. To reset the installation::
created. To reset the installation::
$ rm -rf /tmp/pip_install_matrix
$ rm -rf /tmp/pip_install_matrix
pip seems to leak *lots* of memory during installation. For instance, a Linux
pip seems to leak *lots* of memory during installation. For instance, a Linux
host with 512MB of RAM may run out of memory whilst installing Twisted. If this
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.
...
@@ -148,7 +148,7 @@ Synapse can be installed on Cygwin. It requires the following Cygwin packages:
...
@@ -148,7 +148,7 @@ Synapse can be installed on Cygwin. It requires the following Cygwin packages:
- openssl (and openssl-devel, python-openssl)
- openssl (and openssl-devel, python-openssl)
- python
- python
- python-setuptools
- python-setuptools
The content repository requires additional packages and will be unable to process
The content repository requires additional packages and will be unable to process
uploads without them:
uploads without them:
- libjpeg8
- libjpeg8
...
@@ -176,7 +176,7 @@ To actually run your new homeserver, pick a working directory for Synapse to run
...
@@ -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
...
@@ -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
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment