Skip to content
Snippets Groups Projects
Unverified Commit 1e7864c9 authored by Jorik Schellekens's avatar Jorik Schellekens Committed by GitHub
Browse files

Merge pull request #5460 from matrix-org/joriks/demo_python3

Use python3 in the demo
parents e9344e0d cc7cc853
No related branches found
No related tags found
No related merge requests found
Demo script now uses python3.
...@@ -21,7 +21,7 @@ for port in 8080 8081 8082; do ...@@ -21,7 +21,7 @@ for port in 8080 8081 8082; do
pushd demo/$port pushd demo/$port
#rm $DIR/etc/$port.config #rm $DIR/etc/$port.config
python -m synapse.app.homeserver \ python3 -m synapse.app.homeserver \
--generate-config \ --generate-config \
-H "localhost:$https_port" \ -H "localhost:$https_port" \
--config-path "$DIR/etc/$port.config" \ --config-path "$DIR/etc/$port.config" \
...@@ -55,7 +55,7 @@ for port in 8080 8081 8082; do ...@@ -55,7 +55,7 @@ for port in 8080 8081 8082; do
echo "report_stats: false" >> $DIR/etc/$port.config echo "report_stats: false" >> $DIR/etc/$port.config
fi fi
python -m synapse.app.homeserver \ python3 -m synapse.app.homeserver \
--config-path "$DIR/etc/$port.config" \ --config-path "$DIR/etc/$port.config" \
-D \ -D \
-vv \ -vv \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment