adjust synapse install script for python3 and config file changes

This commit is contained in:
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 unzip -q synapse.zip
mv synapse-$SYNAPSE_BRANCH $SERVER_DIR mv synapse-$SYNAPSE_BRANCH $SERVER_DIR
cd $SERVER_DIR cd $SERVER_DIR
virtualenv -p python2.7 env virtualenv -p python3 env
source env/bin/activate source env/bin/activate
pip install --upgrade pip pip install --upgrade pip
pip install --upgrade setuptools pip install --upgrade setuptools
pip install . pip install matrix-synapse[all]
pip install jinja2 # We use the ConsentResource, which requires jinja2
python -m synapse.app.homeserver \ python -m synapse.app.homeserver \
--server-name localhost \ --server-name localhost \
--config-path homeserver.yaml \ --config-path homeserver.yaml \