Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5460 from matrix-org/joriks/demo_python3
Browse files Browse the repository at this point in the history
Use python3 in the demo
  • Loading branch information
JorikSchellekens committed Jun 14, 2019
2 parents e9344e0 + cc7cc85 commit 1e7864c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/5460.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Demo script now uses python3.
4 changes: 2 additions & 2 deletions demo/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ for port in 8080 8081 8082; do
pushd demo/$port

#rm $DIR/etc/$port.config
python -m synapse.app.homeserver \
python3 -m synapse.app.homeserver \
--generate-config \
-H "localhost:$https_port" \
--config-path "$DIR/etc/$port.config" \
Expand Down Expand Up @@ -55,7 +55,7 @@ for port in 8080 8081 8082; do
echo "report_stats: false" >> $DIR/etc/$port.config
fi

python -m synapse.app.homeserver \
python3 -m synapse.app.homeserver \
--config-path "$DIR/etc/$port.config" \
-D \
-vv \
Expand Down

0 comments on commit 1e7864c

Please sign in to comment.