@@ -1,3 +1,5 @@
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/test.db'
+
+PEERFINDER_DN42 = "http://172.23.184.112:8888"
@@ -172,7 +172,8 @@ def create_participant():
db.session.add(participant)
db.session.commit()
return render_template('participant.html', participant=participant,
- uuid=participant.uuid)
+ uuid=participant.uuid,
+ peerfinder=app.config["PEERFINDER_DN42"])
else:
return "Invalid arguments"
@@ -1,8 +1,8 @@
#!/bin/bash
# Put your UUID here, and keep it secret!
-UUID="{{ uuid }}"
-PEERFINDER="http://172.23.184.112:8888"
+UUID="{{ uuid|default('00000000-0000-0000-0000-000000000000') }}"
+PEERFINDER="{{ peerfinder }}"
NB_PINGS=5
SLEEP=10