Skip to content
Snippets Groups Projects
Unverified Commit 3bd2a2cb authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Include a public_baseurl in configs generated by the demo script. (#8443)

parent 6c5d5e50
No related branches found
No related tags found
No related merge requests found
Configure `public_baseurl` when using demo scripts.
...@@ -30,6 +30,8 @@ for port in 8080 8081 8082; do ...@@ -30,6 +30,8 @@ for port in 8080 8081 8082; do
if ! grep -F "Customisation made by demo/start.sh" -q $DIR/etc/$port.config; then if ! grep -F "Customisation made by demo/start.sh" -q $DIR/etc/$port.config; then
printf '\n\n# Customisation made by demo/start.sh\n' >> $DIR/etc/$port.config printf '\n\n# Customisation made by demo/start.sh\n' >> $DIR/etc/$port.config
echo "public_baseurl: http://localhost:$port/" >> $DIR/etc/$port.config
echo 'enable_registration: true' >> $DIR/etc/$port.config echo 'enable_registration: true' >> $DIR/etc/$port.config
# Warning, this heredoc depends on the interaction of tabs and spaces. Please don't # Warning, this heredoc depends on the interaction of tabs and spaces. Please don't
......
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