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 #223 from matrix-org/markjh/enable_demo_registration
Browse files Browse the repository at this point in the history
enable registration in the demo servers
  • Loading branch information
erikjohnston committed Aug 12, 2015
2 parents 4f11a5b + 2eb91e6 commit 3e4e367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ for port in 8080 8081 8082; do
#rm $DIR/etc/$port.config
python -m synapse.app.homeserver \
--generate-config \
--enable_registration \
-H "localhost:$https_port" \
--config-path "$DIR/etc/$port.config" \

Expand All @@ -36,6 +35,8 @@ for port in 8080 8081 8082; do
fi
fi

perl -p -i -e 's/^enable_registration:.*/enable_registration: true/g' $DIR/etc/$port.config

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

0 comments on commit 3e4e367

Please sign in to comment.