adjust synapse install script for python3 and config file changes

pull/21833/head
Bruno Windels 2019-03-29 11:25:21 +01:00
parent 8f554556f1
commit 7ac19b0bea
2 changed files with 717 additions and 318 deletions

File diff suppressed because it is too large Load Diff

View File

@ -20,12 +20,11 @@ curl https://codeload.github.com/matrix-org/synapse/zip/$SYNAPSE_BRANCH --output
unzip -q synapse.zip
mv synapse-$SYNAPSE_BRANCH $SERVER_DIR
cd $SERVER_DIR
virtualenv -p python2.7 env
virtualenv -p python3 env
source env/bin/activate
pip install --upgrade pip
pip install --upgrade setuptools
pip install .
pip install jinja2 # We use the ConsentResource, which requires jinja2
pip install matrix-synapse[all]
python -m synapse.app.homeserver \
--server-name localhost \
--config-path homeserver.yaml \